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.4723/0.4723, allocations: 111.6 MB / 131.2 MB, free: 4.574 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.964e-06/1.964e-06, allocations: 0 / 176.2 MB, free: 8.867 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.056e-05, allocations: 2.312 kB / 176.2 MB, free: 8.863 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 0.9955/0.9955, allocations: 257.3 MB / 433.5 MB, free: 140 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02562/1.021, allocations: 33.41 MB / 466.9 MB, free: 14.6 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/1.021, allocations: 4 kB / 466.9 MB, free: 14.6 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.0003349/1.022, allocations: 119.2 kB / 467 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/1.022, allocations: 162.8 kB / 467.2 MB, free: 14.32 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.01449/1.036, allocations: 9.966 MB / 477.1 MB, free: 4.309 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/1.037, allocations: 470.4 kB / 477.6 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/1.037, allocations: 136.8 kB / 477.7 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/1.037, allocations: 287.2 kB / 478 MB, free: 3.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/1.037, allocations: 131.6 kB / 478.1 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/1.037, allocations: 24 kB / 478.2 MB, free: 3.277 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1827/1.22, allocations: 16.78 MB / 494.9 MB, free: 8.293 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/1.22, allocations: 72.48 kB / 495 MB, free: 8.293 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/1.22, allocations: 110.3 kB / 495.1 MB, free: 8.293 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/1.231, allocations: 10.8 MB / 0.4941 GB, free: 4.336 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.231, allocations: 0 / 0.4941 GB, free: 4.336 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/1.231, allocations: 0 / 0.4941 GB, free: 4.336 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/1.231, allocations: 0 / 0.4941 GB, free: 4.336 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.002174/1.234, allocations: 1.648 MB / 0.4957 GB, free: 3.148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.234, allocations: 12.11 kB / 0.4957 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/1.234, allocations: 62.64 kB / 0.4957 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/1.234, allocations: 220 kB / 0.4959 GB, free: 2.922 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/1.234, allocations: 71.34 kB / 0.496 GB, free: 2.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/1.234, allocations: 29.27 kB / 0.496 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/1.234, allocations: 299.8 kB / 0.4963 GB, free: 2.621 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.234, allocations: 0 / 0.4963 GB, free: 2.621 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/1.234, allocations: 14.75 kB / 0.4963 GB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/1.234, allocations: 15.36 kB / 0.4964 GB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/1.235, allocations: 125 kB / 0.4965 GB, free: 2.57 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.008418/1.243, allocations: 6.332 MB / 0.5027 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/1.243, allocations: 137.2 kB / 0.5028 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/1.243, allocations: 75.03 kB / 0.5029 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07806/1.321, allocations: 48.62 MB / 0.5503 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/1.322, allocations: 188.8 kB / 0.5505 GB, free: 15.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/1.322, allocations: 0 / 0.5505 GB, free: 15.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006141/1.322, allocations: 349 kB / 0.5509 GB, free: 14.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/1.322, allocations: 81.11 kB / 0.5509 GB, free: 14.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/1.322, allocations: 272.2 kB / 0.5512 GB, free: 14.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.322, allocations: 37.69 kB / 0.5512 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/1.323, allocations: 211.7 kB / 0.5514 GB, free: 14.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/1.323, allocations: 165.6 kB / 0.5516 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/1.323, allocations: 75.58 kB / 0.5517 GB, free: 13.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/1.323, allocations: 0.5128 MB / 0.5522 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/1.323, allocations: 52.7 kB / 0.5522 GB, free: 13.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/1.323, allocations: 121.9 kB / 0.5523 GB, free: 13.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/1.323, allocations: 201.3 kB / 0.5525 GB, free: 12.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.323, allocations: 0 / 0.5525 GB, free: 12.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004056/1.324, allocations: 333.2 kB / 0.5528 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.324, allocations: 8.875 kB / 0.5528 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.324, allocations: 4.125 kB / 0.5528 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/1.324, allocations: 139 kB / 0.553 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/1.324, allocations: 35.97 kB / 0.553 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/1.326, allocations: 2.99 MB / 0.5559 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/1.326, allocations: 32.3 kB / 0.556 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/1.326, allocations: 11.98 kB / 0.556 GB, free: 9.227 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.427e-05/1.326, allocations: 172.4 kB / 0.5561 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/1.326, allocations: 39.75 kB / 0.5562 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/1.326, allocations: 479.4 kB / 0.5566 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000244/1.327, allocations: 257.5 kB / 0.5569 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/1.327, allocations: 0.8906 kB / 0.5569 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.327, allocations: 7.922 kB / 0.5569 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007957/1.327, allocations: 0.7942 MB / 0.5577 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.327, allocations: 0 / 0.5577 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/1.327, allocations: 55.64 kB / 0.5577 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/1.328, allocations: 77.81 kB / 0.5578 GB, free: 7.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/1.328, allocations: 8 kB / 0.5578 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003162/1.328, allocations: 0.8626 MB / 0.5586 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.328, allocations: 0.7969 kB / 0.5586 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/1.328, allocations: 0.527 MB / 0.5592 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/1.328, allocations: 47.72 kB / 0.5592 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/1.329, allocations: 19.88 kB / 0.5592 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/1.329, allocations: 8.688 kB / 0.5592 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/1.329, allocations: 35.94 kB / 0.5593 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/1.329, allocations: 15.98 kB / 0.5593 GB, free: 5.707 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001122/1.329, allocations: 209.1 kB / 0.5595 GB, free: 5.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.329, allocations: 0 / 0.5595 GB, free: 5.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001982/1.331, allocations: 1.228 MB / 0.5607 GB, free: 4.27 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.003031/1.334, allocations: 1.918 MB / 0.5626 GB, free: 2.586 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005332/1.334, allocations: 439 kB / 0.563 GB, free: 2.137 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.334, allocations: 0 / 0.563 GB, free: 2.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/1.335, allocations: 151.4 kB / 0.5631 GB, free: 1.984 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/1.335, allocations: 124.2 kB / 0.5632 GB, free: 1.871 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/1.336, allocations: 0.7582 MB / 0.564 GB, free: 1.105 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.824e-05/1.336, allocations: 111.4 kB / 0.5641 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.18e-05/1.336, allocations: 28.64 kB / 0.5641 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/1.336, allocations: 28.48 kB / 0.5641 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/1.336, allocations: 7.312 kB / 0.5641 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of Templates: time 0.04602/1.382, allocations: 54.71 MB / 0.6176 GB, free: 10.52 MB / 0.5417 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: 7.103806170634925]