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.8717/0.8717, allocations: 153.8 MB / 172.7 MB, free: 4.859 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.0005618/0.0005618, allocations: 11.97 kB / 250.3 MB, free: 3.887 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1687, allocations: 33.36 MB / 283.7 MB, free: 2.055 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.897/2.066, allocations: 307.8 MB / 0.5776 GB, free: 17.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03168/2.098, allocations: 30.89 MB / 0.6077 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/2.098, allocations: 2.531 kB / 0.6077 GB, free: 2.348 MB / 478.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.0004339/2.098, allocations: 128.8 kB / 0.6079 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/2.099, allocations: 149.1 kB / 0.608 GB, free: 2.195 MB / 478.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.02547/2.124, allocations: 9.86 MB / 0.6176 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007922/2.125, allocations: 462.7 kB / 0.6181 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/2.125, allocations: 134.6 kB / 0.6182 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/2.126, allocations: 199.2 kB / 0.6184 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/2.126, allocations: 151.2 kB / 0.6185 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/2.126, allocations: 27.44 kB / 0.6186 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03308/2.159, allocations: 16.77 MB / 0.6349 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/2.159, allocations: 75.69 kB / 0.635 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/2.159, allocations: 151.2 kB / 0.6352 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01885/2.178, allocations: 8.536 MB / 0.6435 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/2.178, allocations: 0 / 0.6435 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/2.178, allocations: 0.75 kB / 0.6435 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.634e-06/2.178, allocations: 0 / 0.6435 GB, free: 1.336 MB / 0.4981 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.004127/2.182, allocations: 1.552 MB / 0.645 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/2.182, allocations: 16.03 kB / 0.645 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/2.183, allocations: 51.7 kB / 0.6451 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/2.183, allocations: 211.3 kB / 0.6453 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/2.183, allocations: 75.84 kB / 0.6453 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/2.183, allocations: 24 kB / 0.6454 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/2.184, allocations: 355.3 kB / 0.6457 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/2.184, allocations: 3.984 kB / 0.6457 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/2.184, allocations: 8 kB / 0.6457 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/2.184, allocations: 12 kB / 0.6457 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/2.184, allocations: 237.7 kB / 0.646 GB, free: 14.71 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.01987/2.204, allocations: 6.021 MB / 0.6518 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/2.205, allocations: 252.6 kB / 0.6521 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/2.205, allocations: 120.9 kB / 0.6522 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1733/2.378, allocations: 48.43 MB / 0.6995 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/2.379, allocations: 220.8 kB / 0.6997 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.074e-06/2.379, allocations: 0 / 0.6997 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001166/2.38, allocations: 489.8 kB / 0.7002 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/2.38, allocations: 81.11 kB / 0.7002 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/2.38, allocations: 224.8 kB / 0.7005 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/2.38, allocations: 33.73 kB / 0.7005 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/2.38, allocations: 169 kB / 0.7007 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/2.38, allocations: 165 kB / 0.7008 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/2.381, allocations: 61.92 kB / 0.7009 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001619/2.381, allocations: 346.7 kB / 0.7012 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/2.381, allocations: 112.7 kB / 0.7013 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/2.381, allocations: 159.7 kB / 0.7015 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/2.382, allocations: 295.2 kB / 0.7017 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/2.382, allocations: 4 kB / 0.7017 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000905/2.383, allocations: 430.8 kB / 0.7022 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/2.383, allocations: 4 kB / 0.7022 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/2.383, allocations: 5.766 kB / 0.7022 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/2.384, allocations: 189.6 kB / 0.7023 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/2.384, allocations: 23.98 kB / 0.7024 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/2.386, allocations: 2.302 MB / 0.7046 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/2.387, allocations: 39.72 kB / 0.7047 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/2.387, allocations: 14.78 kB / 0.7047 GB, free: 2.219 MB / 0.5606 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.000178/2.387, allocations: 155.6 kB / 0.7048 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/2.387, allocations: 27.81 kB / 0.7048 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009216/2.388, allocations: 0.5688 MB / 0.7054 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005876/2.388, allocations: 362.1 kB / 0.7057 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/2.388, allocations: 0 / 0.7057 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/2.388, allocations: 4 kB / 0.7057 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/2.39, allocations: 0.8582 MB / 0.7066 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/2.39, allocations: 0 / 0.7066 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/2.39, allocations: 63.91 kB / 0.7066 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003815/2.391, allocations: 109.7 kB / 0.7067 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/2.391, allocations: 7.984 kB / 0.7068 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005884/2.391, allocations: 0.6382 MB / 0.7074 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/2.391, allocations: 3.938 kB / 0.7074 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/2.392, allocations: 0.6476 MB / 0.708 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/2.392, allocations: 55.73 kB / 0.7081 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/2.392, allocations: 9.625 kB / 0.7081 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/2.393, allocations: 15.98 kB / 0.7081 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/2.393, allocations: 35.94 kB / 0.7081 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/2.393, allocations: 11.98 kB / 0.7081 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002124/2.393, allocations: 197.2 kB / 0.7083 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.393, allocations: 0 / 0.7083 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003375/2.396, allocations: 1.233 MB / 0.7095 GB, free: 13.1 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.004774/2.401, allocations: 1.743 MB / 0.7112 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001102/2.402, allocations: 478.6 kB / 0.7117 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.402, allocations: 3.938 kB / 0.7117 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004543/2.403, allocations: 168.3 kB / 0.7119 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/2.403, allocations: 129.6 kB / 0.712 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/2.405, allocations: 0.8805 MB / 0.7128 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/2.405, allocations: 200.8 kB / 0.713 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00015/2.405, allocations: 33.08 kB / 0.7131 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/2.405, allocations: 27.44 kB / 0.7131 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/2.405, allocations: 0 / 0.7131 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of Templates: time 0.06366/2.469, allocations: 44.18 MB / 0.7562 GB, free: 13.76 MB / 0.6231 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: 14.318828772753477] Failed to read output from testmodel.py, exit status != 0: 2.837450299412012 2.847867843 0.667084683 Calling exit ...