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.8458/0.8458, allocations: 120.4 MB / 140.1 MB, free: 48 kB / 126.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.0005387/0.0005387, allocations: 15.97 kB / 217.7 MB, free: 12.98 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05441/0.05495, allocations: 33.37 MB / 251.1 MB, free: 11.55 MB / 238.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.728/1.783, allocations: 254.2 MB / 0.4935 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04325/1.826, allocations: 30.88 MB / 0.5237 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/1.827, allocations: 2 kB / 0.5237 GB, free: 15.98 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.0004777/1.827, allocations: 124.9 kB / 0.5238 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/1.827, allocations: 149.8 kB / 0.5239 GB, free: 15.71 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.02446/1.852, allocations: 9.872 MB / 0.5336 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007184/1.853, allocations: 454.7 kB / 0.534 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/1.853, allocations: 140.7 kB / 0.5341 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/1.853, allocations: 203.1 kB / 0.5343 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/1.853, allocations: 151.2 kB / 0.5345 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.097e-05/1.853, allocations: 24 kB / 0.5345 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03078/1.884, allocations: 16.77 MB / 0.5509 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/1.884, allocations: 63.72 kB / 0.5509 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/1.885, allocations: 151.2 kB / 0.5511 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/1.902, allocations: 8.54 MB / 0.5594 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.902, allocations: 0 / 0.5594 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/1.902, allocations: 0 / 0.5594 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.902, allocations: 4 kB / 0.5594 GB, free: 11.31 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.004321/1.906, allocations: 1.548 MB / 0.5609 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.906, allocations: 12.03 kB / 0.5609 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/1.906, allocations: 51.66 kB / 0.561 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/1.907, allocations: 208.5 kB / 0.5612 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/1.907, allocations: 75.84 kB / 0.5613 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/1.907, allocations: 28 kB / 0.5613 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/1.907, allocations: 354.5 kB / 0.5616 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.907, allocations: 0 / 0.5616 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/1.907, allocations: 12 kB / 0.5616 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/1.907, allocations: 19.97 kB / 0.5617 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/1.908, allocations: 225.9 kB / 0.5619 GB, free: 8.691 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.02029/1.928, allocations: 6.024 MB / 0.5678 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/1.929, allocations: 246.9 kB / 0.568 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/1.929, allocations: 121.2 kB / 0.5681 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1798/2.109, allocations: 48.43 MB / 0.6154 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/2.109, allocations: 221.2 kB / 0.6156 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/2.109, allocations: 0 / 0.6156 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001225/2.111, allocations: 486.2 kB / 0.6161 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/2.111, allocations: 88.98 kB / 0.6162 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/2.111, allocations: 221.7 kB / 0.6164 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/2.111, allocations: 29.7 kB / 0.6164 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/2.111, allocations: 172.9 kB / 0.6166 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/2.111, allocations: 162.5 kB / 0.6167 GB, free: 348 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/2.111, allocations: 65.91 kB / 0.6168 GB, free: 276 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001933/2.112, allocations: 346.8 kB / 0.6171 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/2.112, allocations: 112.7 kB / 0.6172 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/2.112, allocations: 163.7 kB / 0.6174 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/2.113, allocations: 288.2 kB / 0.6176 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/2.113, allocations: 8 kB / 0.6177 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009177/2.113, allocations: 432 kB / 0.6181 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/2.113, allocations: 4 kB / 0.6181 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/2.113, allocations: 4 kB / 0.6181 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/2.115, allocations: 197.5 kB / 0.6183 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/2.115, allocations: 23.98 kB / 0.6183 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/2.117, allocations: 2.301 MB / 0.6205 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/2.118, allocations: 43.7 kB / 0.6206 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/2.118, allocations: 8 kB / 0.6206 GB, free: 12.18 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.0001723/2.118, allocations: 145.8 kB / 0.6207 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/2.118, allocations: 35.94 kB / 0.6208 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/2.119, allocations: 0.569 MB / 0.6213 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006199/2.119, allocations: 355.4 kB / 0.6217 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/2.119, allocations: 0 / 0.6217 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/2.119, allocations: 0 / 0.6217 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/2.121, allocations: 0.8714 MB / 0.6225 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/2.121, allocations: 0 / 0.6225 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/2.121, allocations: 59.91 kB / 0.6226 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/2.122, allocations: 108.7 kB / 0.6227 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/2.122, allocations: 8 kB / 0.6227 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006212/2.122, allocations: 0.6438 MB / 0.6233 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/2.122, allocations: 0 / 0.6233 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/2.123, allocations: 0.6491 MB / 0.6239 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/2.124, allocations: 55.73 kB / 0.624 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/2.124, allocations: 11.88 kB / 0.624 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/2.124, allocations: 15.98 kB / 0.624 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/2.124, allocations: 36.06 kB / 0.624 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/2.124, allocations: 12 kB / 0.6241 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000219/2.124, allocations: 197.2 kB / 0.6242 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.124, allocations: 0 / 0.6242 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00321/2.127, allocations: 1.235 MB / 0.6255 GB, free: 7.043 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.005466/2.133, allocations: 1.748 MB / 0.6272 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001072/2.134, allocations: 476.4 kB / 0.6276 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/2.134, allocations: 0 / 0.6276 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004974/2.134, allocations: 177.1 kB / 0.6278 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/2.135, allocations: 124.2 kB / 0.6279 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/2.137, allocations: 0.8744 MB / 0.6288 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/2.137, allocations: 212.2 kB / 0.629 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001313/2.137, allocations: 26.28 kB / 0.629 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/2.137, allocations: 32.48 kB / 0.629 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/2.137, allocations: 3.938 kB / 0.629 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of Templates: time 0.0696/2.207, allocations: 43.68 MB / 0.6717 GB, free: 7.738 MB / 0.6231 GB " [Timeout remaining time 658] 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.440484817023389] Failed to read output from testmodel.py, exit status != 0: 2.4775043389527127 2.486454357 0.58242155 Calling exit ...