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.4895/0.4895, allocations: 111.6 MB / 131.7 MB, free: 5.062 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 1.764e-06/1.764e-06, allocations: 0 / 176.5 MB, free: 9.41 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.964e-05, allocations: 2.312 kB / 176.5 MB, free: 9.406 MB / 170.7 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/1, allocations: 257.2 MB / 433.7 MB, free: 144 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02699/1.027, allocations: 33.31 MB / 467 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/1.027, allocations: 4 kB / 467 MB, free: 14.7 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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:36:3-37:80: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:38:3-39:78: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.0003678/1.028, allocations: 123.2 kB / 467.2 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/1.028, allocations: 158.8 kB / 467.3 MB, free: 14.42 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.01746/1.045, allocations: 9.943 MB / 477.3 MB, free: 4.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/1.046, allocations: 482.4 kB / 477.7 MB, free: 3.957 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/1.046, allocations: 132.8 kB / 477.9 MB, free: 3.824 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/1.046, allocations: 283.1 kB / 478.1 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/1.047, allocations: 131.6 kB / 478.3 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/1.047, allocations: 24 kB / 478.3 MB, free: 3.395 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1857/1.232, allocations: 16.79 MB / 495.1 MB, free: 8.312 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/1.232, allocations: 65.52 kB / 495.1 MB, free: 8.312 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/1.233, allocations: 118.3 kB / 495.3 MB, free: 8.312 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/1.243, allocations: 10.8 MB / 0.4942 GB, free: 4.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.243, allocations: 0.5938 kB / 0.4942 GB, free: 4.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.183e-06/1.243, allocations: 0 / 0.4942 GB, free: 4.383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/1.243, allocations: 1.219 kB / 0.4942 GB, free: 4.383 MB / 426.7 MB 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.002186/1.245, allocations: 1.661 MB / 0.4958 GB, free: 3.195 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.245, allocations: 11.73 kB / 0.4958 GB, free: 3.191 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/1.245, allocations: 64.52 kB / 0.4959 GB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/1.246, allocations: 209.5 kB / 0.4961 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/1.246, allocations: 75.16 kB / 0.4962 GB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/1.246, allocations: 27.16 kB / 0.4962 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/1.246, allocations: 299.9 kB / 0.4965 GB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.246, allocations: 3.531 kB / 0.4965 GB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/1.246, allocations: 8.938 kB / 0.4965 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/1.246, allocations: 15.5 kB / 0.4965 GB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/1.246, allocations: 124.7 kB / 0.4966 GB, free: 2.621 MB / 426.7 MB 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.008827/1.255, allocations: 6.339 MB / 0.5028 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/1.255, allocations: 174 kB / 0.503 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/1.255, allocations: 68.61 kB / 0.503 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08059/1.336, allocations: 48.63 MB / 0.5505 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/1.336, allocations: 177.2 kB / 0.5507 GB, free: 15.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 1.393e-06/1.336, allocations: 0 / 0.5507 GB, free: 15.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006192/1.337, allocations: 352.9 kB / 0.551 GB, free: 14.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/1.337, allocations: 81.11 kB / 0.5511 GB, free: 14.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/1.337, allocations: 272.2 kB / 0.5514 GB, free: 14.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.868e-05/1.337, allocations: 29.7 kB / 0.5514 GB, free: 14.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/1.337, allocations: 221.1 kB / 0.5516 GB, free: 14.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.375e-05/1.337, allocations: 166.2 kB / 0.5518 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/1.337, allocations: 67.58 kB / 0.5518 GB, free: 13.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/1.337, allocations: 0.5196 MB / 0.5523 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.706e-05/1.338, allocations: 48.75 kB / 0.5524 GB, free: 13.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/1.338, allocations: 133.3 kB / 0.5525 GB, free: 13.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/1.338, allocations: 197.6 kB / 0.5527 GB, free: 12.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.338, allocations: 0 / 0.5527 GB, free: 12.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000423/1.338, allocations: 327.6 kB / 0.553 GB, free: 12.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.338, allocations: 11.94 kB / 0.553 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.338, allocations: 0 / 0.553 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/1.339, allocations: 167.2 kB / 0.5532 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/1.339, allocations: 27.73 kB / 0.5532 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/1.34, allocations: 3.02 MB / 0.5562 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/1.34, allocations: 28.41 kB / 0.5562 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/1.34, allocations: 15.98 kB / 0.5562 GB, free: 9.203 MB / 490.7 MB 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 9.663e-05/1.341, allocations: 176.1 kB / 0.5564 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/1.341, allocations: 43.7 kB / 0.5564 GB, free: 8.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/1.341, allocations: 475.7 kB / 0.5569 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002581/1.341, allocations: 265.5 kB / 0.5571 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/1.341, allocations: 0 / 0.5571 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/1.341, allocations: 7.984 kB / 0.5571 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/1.342, allocations: 0.7809 MB / 0.5579 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.342, allocations: 0.5625 kB / 0.5579 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/1.342, allocations: 59.36 kB / 0.558 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001704/1.342, allocations: 87.55 kB / 0.558 GB, free: 7.238 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.342, allocations: 8 kB / 0.558 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003066/1.343, allocations: 0.8611 MB / 0.5589 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.343, allocations: 0 / 0.5589 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/1.343, allocations: 0.5302 MB / 0.5594 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/1.343, allocations: 55.72 kB / 0.5595 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/1.343, allocations: 11.98 kB / 0.5595 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/1.343, allocations: 13.25 kB / 0.5595 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.343, allocations: 36.67 kB / 0.5595 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/1.343, allocations: 8 kB / 0.5595 GB, free: 5.672 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001141/1.344, allocations: 221.1 kB / 0.5597 GB, free: 5.453 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/1.344, allocations: 0 / 0.5597 GB, free: 5.453 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001911/1.346, allocations: 1.239 MB / 0.5609 GB, free: 4.211 MB / 490.7 MB 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.002992/1.348, allocations: 1.91 MB / 0.5628 GB, free: 2.535 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005373/1.349, allocations: 444.7 kB / 0.5632 GB, free: 2.086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.349, allocations: 0 / 0.5632 GB, free: 2.086 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/1.349, allocations: 140.2 kB / 0.5634 GB, free: 1.941 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/1.35, allocations: 132.6 kB / 0.5635 GB, free: 1.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/1.351, allocations: 0.762 MB / 0.5642 GB, free: 1.051 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.244e-05/1.351, allocations: 117.7 kB / 0.5643 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.373e-05/1.351, allocations: 29.23 kB / 0.5644 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/1.351, allocations: 32.5 kB / 0.5644 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/1.351, allocations: 0 / 0.5644 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of Templates: time 0.03747/1.389, allocations: 44.8 MB / 0.6082 GB, free: 4.387 MB / 0.5261 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.80720316292718]