Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 102 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001362, allocations: 195.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7408/0.7408, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 69.69 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1731, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1035/0.2767, allocations: 112.6 MB / 0.7416 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4417/0.7184, allocations: 20.22 MB / 0.7613 GB, free: 30.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005312/0.7238, allocations: 108.2 kB / 0.7614 GB, free: 30.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004792/0.7286, allocations: 1.279 MB / 0.7627 GB, free: 30.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01587/0.7446, allocations: 3.694 MB / 0.7663 GB, free: 30.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009319/0.754, allocations: 3.125 MB / 0.7693 GB, free: 30.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.7658, allocations: 7.21 MB / 0.7764 GB, free: 30.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004163/0.77, allocations: 2.574 MB / 0.7789 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007471/0.7775, allocations: 2.9 MB / 0.7817 GB, free: 29.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004548/0.782, allocations: 2.123 MB / 0.7838 GB, free: 28.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006363/0.7827, allocations: 254.4 kB / 0.784 GB, free: 28.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005288/0.788, allocations: 1.648 MB / 0.7857 GB, free: 27.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006662/0.7887, allocations: 0.6914 MB / 0.7863 GB, free: 27.58 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.7912, allocations: 1.515 MB / 0.7878 GB, free: 26.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006908/0.7981, allocations: 4.394 MB / 0.7921 GB, free: 24.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7981, allocations: 0 / 0.7921 GB, free: 24.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7981, allocations: 0 / 0.7921 GB, free: 24.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.007e-05/0.7982, allocations: 0 / 0.7921 GB, free: 24.43 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005075/0.8033, allocations: 3.234 MB / 0.7953 GB, free: 22.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.8033, allocations: 10.88 kB / 0.7953 GB, free: 22.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002106/0.8036, allocations: 214.9 kB / 0.7955 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006903/0.8043, allocations: 319.9 kB / 0.7958 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/0.8077, allocations: 2.207 MB / 0.7979 GB, free: 20.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.924e-05/0.8078, allocations: 125.5 kB / 0.7981 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.8081, allocations: 165.9 kB / 0.7982 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.8108, allocations: 1.61 MB / 0.7998 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.8108, allocations: 10.47 kB / 0.7998 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.8109, allocations: 61.19 kB / 0.7999 GB, free: 18.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/0.811, allocations: 48.64 kB / 0.7999 GB, free: 18.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.8127, allocations: 1.146 MB / 0.801 GB, free: 18.4 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009539/0.8223, allocations: 7.916 MB / 0.8087 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.823, allocations: 468.9 kB / 0.8092 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.8234, allocations: 334.1 kB / 0.8095 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/0.8239, allocations: 0.7523 MB / 0.8102 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.8239, allocations: 51.89 kB / 0.8103 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/0.8239, allocations: 0 / 0.8103 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002181/0.8261, allocations: 0.9886 MB / 0.8113 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.8262, allocations: 55.97 kB / 0.8113 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.8288, allocations: 2.343 MB / 0.8136 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.8289, allocations: 45.7 kB / 0.8136 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006826/0.8296, allocations: 1.152 MB / 0.8148 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.8298, allocations: 217.3 kB / 0.815 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.8301, allocations: 258.6 kB / 0.8152 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.8301, allocations: 349.9 kB / 0.8156 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.8307, allocations: 365.9 kB / 0.8159 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.8314, allocations: 0.7424 MB / 0.8166 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.8325, allocations: 0.9785 MB / 0.8176 GB, free: 3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8325, allocations: 0 / 0.8176 GB, free: 3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002088/0.8346, allocations: 1.295 MB / 0.8189 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.8346, allocations: 8 kB / 0.8189 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.8346, allocations: 8 kB / 0.8189 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.8347, allocations: 16 kB / 0.8189 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.8356, allocations: 255.5 kB / 0.8191 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.8356, allocations: 19.94 kB / 0.8191 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.8371, allocations: 162.6 kB / 0.8193 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/0.8372, allocations: 51.98 kB / 0.8194 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001137/0.8384, allocations: 0.7602 MB / 0.8201 GB, free: 452 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008035/0.8392, allocations: 0.7349 MB / 0.8208 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001422/0.8406, allocations: 0.9509 MB / 0.8217 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.474e-06/0.8406, allocations: 4 kB / 0.8217 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002523/0.8432, allocations: 1.262 MB / 0.823 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.8432, allocations: 13.81 kB / 0.823 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.8432, allocations: 8 kB / 0.823 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8432, allocations: 16 kB / 0.823 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/0.8441, allocations: 243.6 kB / 0.8232 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.549e-05/0.8442, allocations: 23.92 kB / 0.8233 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.8458, allocations: 131.6 kB / 0.8234 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.8459, allocations: 47.98 kB / 0.8234 GB, free: 12.74 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003497/0.8463, allocations: 255.4 kB / 0.8237 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/0.8467, allocations: 237 kB / 0.8239 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.8485, allocations: 0.8818 MB / 0.8248 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.8485, allocations: 12 kB / 0.8248 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.8485, allocations: 0 / 0.8248 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.8495, allocations: 0.6891 MB / 0.8255 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004022/0.8536, allocations: 2.575 MB / 0.828 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.8536, allocations: 3.938 kB / 0.828 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.8541, allocations: 131.8 kB / 0.8281 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.8541, allocations: 4.094 kB / 0.8281 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.8542, allocations: 23.98 kB / 0.8281 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.8542, allocations: 4 kB / 0.8281 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8542, allocations: 0 / 0.8281 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.8562, allocations: 1.313 MB / 0.8294 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008381/0.8571, allocations: 421.9 kB / 0.8298 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.8573, allocations: 12 kB / 0.8298 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008617/0.8582, allocations: 39.95 kB / 0.8299 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/0.8583, allocations: 48.5 kB / 0.8299 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.8583, allocations: 35.91 kB / 0.8299 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002223/0.8606, allocations: 1.566 MB / 0.8315 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8606, allocations: 0 / 0.8315 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003167/0.8638, allocations: 1.111 MB / 0.8326 GB, free: 3.234 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004058/0.8678, allocations: 2.517 MB / 0.835 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002567/0.8704, allocations: 1.363 MB / 0.8363 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8704, allocations: 4 kB / 0.8364 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.8709, allocations: 323 kB / 0.8367 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005851/0.8768, allocations: 1.386 MB / 0.838 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/0.8979, allocations: 14.89 MB / 0.8526 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.8991, allocations: 1.597 MB / 0.8541 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001903/0.901, allocations: 0.4937 MB / 0.8546 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/0.9022, allocations: 0.964 MB / 0.8555 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.9022, allocations: 0 / 0.8555 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/1.013, allocations: 65.24 MB / 0.9193 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.87, allocations: 4.062 kB / 0.9193 GB, free: 10.84 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)