Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8745/0.8745, allocations: 153.8 MB / 173.4 MB, free: 4.938 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005686/0.0005686, allocations: 15.97 kB / 251.1 MB, free: 3.945 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1801, allocations: 33.36 MB / 284.5 MB, free: 2.141 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve): time 1.878/2.058, allocations: 307.7 MB / 0.5783 GB, free: 16.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03757/2.095, allocations: 35.11 MB / 0.6126 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/2.096, allocations: 3.938 kB / 0.6126 GB, free: 13.99 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/DynamicCheckValve.mo:61:3-63:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/DynamicCheckValve.mo:64:3-65:51:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005756/2.096, allocations: 149.9 kB / 0.6128 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004095/2.097, allocations: 150.8 kB / 0.6129 GB, free: 13.82 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03084/2.128, allocations: 10 MB / 0.6227 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/2.129, allocations: 450.7 kB / 0.6231 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/2.129, allocations: 132.7 kB / 0.6232 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/2.129, allocations: 204.8 kB / 0.6234 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/2.13, allocations: 167.2 kB / 0.6236 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/2.13, allocations: 24 kB / 0.6236 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03949/2.169, allocations: 17.94 MB / 0.6411 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/2.169, allocations: 63.72 kB / 0.6412 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/2.17, allocations: 175.1 kB / 0.6414 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02821/2.198, allocations: 8.536 MB / 0.6497 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/2.198, allocations: 4 kB / 0.6497 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.924e-06/2.198, allocations: 0 / 0.6497 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.655e-05/2.198, allocations: 0 / 0.6497 GB, free: 12.18 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005035/2.203, allocations: 1.561 MB / 0.6512 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/2.203, allocations: 8.031 kB / 0.6512 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/2.203, allocations: 55.7 kB / 0.6513 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/2.204, allocations: 208.5 kB / 0.6515 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/2.204, allocations: 71.84 kB / 0.6515 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/2.204, allocations: 27.94 kB / 0.6516 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/2.204, allocations: 359.2 kB / 0.6519 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/2.204, allocations: 3.938 kB / 0.6519 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/2.204, allocations: 12 kB / 0.6519 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/2.204, allocations: 13.75 kB / 0.6519 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/2.205, allocations: 226.3 kB / 0.6522 GB, free: 9.555 MB / 0.5137 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.02021/2.225, allocations: 6.586 MB / 0.6586 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/2.226, allocations: 252 kB / 0.6588 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/2.226, allocations: 120.9 kB / 0.6589 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1685/2.395, allocations: 48.23 MB / 0.706 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004965/2.395, allocations: 232 kB / 0.7063 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.524e-06/2.395, allocations: 0 / 0.7063 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.00123/2.396, allocations: 492 kB / 0.7067 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/2.396, allocations: 81.05 kB / 0.7068 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/2.397, allocations: 253.9 kB / 0.7071 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/2.397, allocations: 33.73 kB / 0.7071 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/2.397, allocations: 165 kB / 0.7072 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/2.397, allocations: 170.5 kB / 0.7074 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/2.397, allocations: 62.67 kB / 0.7075 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001784/2.397, allocations: 346.7 kB / 0.7078 GB, free: 268 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/2.397, allocations: 108.7 kB / 0.7079 GB, free: 160 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/2.398, allocations: 163.7 kB / 0.7081 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/2.398, allocations: 299.1 kB / 0.7083 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/2.398, allocations: 4 kB / 0.7083 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009257/2.399, allocations: 427.2 kB / 0.7088 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/2.399, allocations: 9.094 kB / 0.7088 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/2.399, allocations: 2.531 kB / 0.7088 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/2.4, allocations: 195.1 kB / 0.709 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/2.4, allocations: 31.91 kB / 0.709 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/2.403, allocations: 2.326 MB / 0.7113 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/2.403, allocations: 43.69 kB / 0.7113 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/2.403, allocations: 12 kB / 0.7113 GB, free: 12.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (checkValve.C2.b,checkValve.C1.a,puitsP1.C.a,sourceP1.C.b,checkValve.libre,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/2.404, allocations: 155.4 kB / 0.7115 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/2.404, allocations: 39.7 kB / 0.7115 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009439/2.405, allocations: 0.5577 MB / 0.712 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005941/2.405, allocations: 358.3 kB / 0.7124 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/2.405, allocations: 4 kB / 0.7124 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/2.405, allocations: 5.625 kB / 0.7124 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/2.407, allocations: 0.9396 MB / 0.7133 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/2.407, allocations: 0 / 0.7133 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/2.407, allocations: 63.91 kB / 0.7134 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003666/2.408, allocations: 108.7 kB / 0.7135 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/2.408, allocations: 5.188 kB / 0.7135 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006097/2.408, allocations: 0.6412 MB / 0.7141 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/2.408, allocations: 4.062 kB / 0.7141 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/2.409, allocations: 0.6523 MB / 0.7147 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/2.409, allocations: 63.69 kB / 0.7148 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/2.409, allocations: 9.547 kB / 0.7148 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/2.41, allocations: 24.05 kB / 0.7148 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/2.41, allocations: 27.94 kB / 0.7149 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/2.41, allocations: 15.98 kB / 0.7149 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002585/2.41, allocations: 219 kB / 0.7151 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.41, allocations: 0 / 0.7151 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00331/2.413, allocations: 1.235 MB / 0.7163 GB, free: 7.227 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.omega,checkValve.theta) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,checkValve.libre) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005797/2.419, allocations: 1.75 MB / 0.718 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001111/2.42, allocations: 479.3 kB / 0.7185 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/2.42, allocations: 0 / 0.7185 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000463/2.421, allocations: 170.4 kB / 0.7186 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/2.422, allocations: 127.9 kB / 0.7187 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/2.423, allocations: 0.9245 MB / 0.7196 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/2.424, allocations: 0.804 MB / 0.7204 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/2.424, allocations: 31.42 kB / 0.7205 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/2.424, allocations: 8 kB / 0.7205 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of Templates: time 0.04263/2.466, allocations: 27 MB / 0.7468 GB, free: 8.324 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.173449693946168] Failed to read output from testmodel.py, exit status != 0: 2.891417997190729 2.902681524 0.702173316 Calling exit ...