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.7783/0.7783, allocations: 111.6 MB / 131 MB, free: 5.074 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 2.154e-06/2.154e-06, allocations: 0 / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.829e-05, allocations: 7.859 kB / 175.7 MB, free: 9.449 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.628/1.628, allocations: 254.7 MB / 430.5 MB, free: 388 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04948/1.678, allocations: 30.93 MB / 461.4 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/1.678, allocations: 4 kB / 461.4 MB, free: 1.328 MB / 410.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.0005067/1.678, allocations: 119.2 kB / 461.5 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/1.679, allocations: 158.8 kB / 461.7 MB, free: 1.055 MB / 410.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.02751/1.706, allocations: 9.954 MB / 471.6 MB, free: 7.066 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008027/1.707, allocations: 478.4 kB / 472.1 MB, free: 6.598 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/1.707, allocations: 132.8 kB / 472.2 MB, free: 6.469 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004682/1.708, allocations: 279.2 kB / 472.5 MB, free: 6.195 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/1.708, allocations: 127.6 kB / 472.6 MB, free: 6.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/1.708, allocations: 24 kB / 472.6 MB, free: 6.047 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03383/1.742, allocations: 16.8 MB / 489.4 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/1.742, allocations: 71.67 kB / 489.5 MB, free: 5.148 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/1.742, allocations: 115.7 kB / 489.6 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2129/1.955, allocations: 10.91 MB / 0.4888 GB, free: 22.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.955, allocations: 0 / 0.4888 GB, free: 22.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.955, allocations: 0 / 0.4888 GB, free: 22.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/1.955, allocations: 1.531 kB / 0.4888 GB, free: 22.34 MB / 442.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.007442/1.963, allocations: 1.55 MB / 0.4903 GB, free: 21.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.963, allocations: 13.52 kB / 0.4903 GB, free: 21.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/1.963, allocations: 67.12 kB / 0.4904 GB, free: 21.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/1.963, allocations: 210 kB / 0.4906 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.235e-05/1.963, allocations: 70.34 kB / 0.4907 GB, free: 21.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/1.963, allocations: 28 kB / 0.4907 GB, free: 21.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/1.964, allocations: 356.6 kB / 0.491 GB, free: 21.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/1.964, allocations: 1.719 kB / 0.491 GB, free: 21.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/1.964, allocations: 9.062 kB / 0.491 GB, free: 21.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/1.964, allocations: 17.38 kB / 0.4911 GB, free: 21.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/1.964, allocations: 232.2 kB / 0.4913 GB, free: 21.13 MB / 442.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.01859/1.983, allocations: 6.044 MB / 0.4972 GB, free: 20.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/1.984, allocations: 241.6 kB / 0.4974 GB, free: 20.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/1.984, allocations: 125.3 kB / 0.4975 GB, free: 20.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1595/2.143, allocations: 48.49 MB / 0.5449 GB, free: 1.023 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/2.144, allocations: 220.8 kB / 0.5451 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 1.603e-06/2.144, allocations: 0 / 0.5451 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.001184/2.145, allocations: 0.4901 MB / 0.5456 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/2.145, allocations: 88.89 kB / 0.5457 GB, free: 412 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/2.145, allocations: 221.4 kB / 0.5459 GB, free: 212 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/2.145, allocations: 34.84 kB / 0.5459 GB, free: 176 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/2.145, allocations: 170.5 kB / 0.5461 GB, free: 28 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/2.146, allocations: 153.4 kB / 0.5462 GB, free: 15.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/2.146, allocations: 72.48 kB / 0.5463 GB, free: 15.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/2.146, allocations: 337.6 kB / 0.5466 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/2.146, allocations: 114.1 kB / 0.5467 GB, free: 15.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/2.146, allocations: 158.3 kB / 0.5469 GB, free: 15.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/2.147, allocations: 304.8 kB / 0.5471 GB, free: 15.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/2.147, allocations: 0 / 0.5471 GB, free: 15.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000925/2.148, allocations: 437.1 kB / 0.5476 GB, free: 14.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/2.148, allocations: 5.219 kB / 0.5476 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/2.148, allocations: 4 kB / 0.5476 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/2.149, allocations: 194.5 kB / 0.5478 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/2.149, allocations: 29.47 kB / 0.5478 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/2.152, allocations: 2.293 MB / 0.55 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/2.152, allocations: 38.17 kB / 0.5501 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/2.152, allocations: 14.42 kB / 0.5501 GB, free: 12.35 MB / 474.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 0.0001885/2.152, allocations: 152.3 kB / 0.5502 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/2.153, allocations: 42.66 kB / 0.5503 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/2.153, allocations: 0.5539 MB / 0.5508 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000601/2.154, allocations: 374.1 kB / 0.5512 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/2.154, allocations: 0 / 0.5512 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/2.154, allocations: 0.875 kB / 0.5512 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/2.156, allocations: 0.868 MB / 0.552 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/2.156, allocations: 1.312 kB / 0.552 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/2.156, allocations: 63.28 kB / 0.5521 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003909/2.156, allocations: 106.1 kB / 0.5522 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/2.156, allocations: 8 kB / 0.5522 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006579/2.157, allocations: 0.6374 MB / 0.5528 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/2.157, allocations: 0 / 0.5528 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/2.158, allocations: 0.6609 MB / 0.5534 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/2.158, allocations: 59.16 kB / 0.5535 GB, free: 9.172 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/2.158, allocations: 15.94 kB / 0.5535 GB, free: 9.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/2.159, allocations: 17.56 kB / 0.5535 GB, free: 9.141 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/2.159, allocations: 31.94 kB / 0.5536 GB, free: 9.109 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/2.159, allocations: 8 kB / 0.5536 GB, free: 9.102 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002406/2.159, allocations: 205.1 kB / 0.5538 GB, free: 8.898 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/2.159, allocations: 1.094 kB / 0.5538 GB, free: 8.898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004849/2.164, allocations: 1.232 MB / 0.555 GB, free: 7.664 MB / 474.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.00758/2.171, allocations: 1.904 MB / 0.5568 GB, free: 6.004 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/2.173, allocations: 477.8 kB / 0.5573 GB, free: 5.523 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.173, allocations: 0 / 0.5573 GB, free: 5.523 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/2.173, allocations: 182.5 kB / 0.5575 GB, free: 5.355 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/2.174, allocations: 123.7 kB / 0.5576 GB, free: 5.242 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/2.175, allocations: 0.7971 MB / 0.5584 GB, free: 4.434 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/2.176, allocations: 204.3 kB / 0.5586 GB, free: 4.215 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/2.176, allocations: 30.78 kB / 0.5586 GB, free: 4.188 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/2.176, allocations: 28.5 kB / 0.5586 GB, free: 4.16 MB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/2.176, allocations: 0 / 0.5586 GB, free: 4.16 MB / 474.7 MB Notification: Performance of Templates: time 0.07302/2.249, allocations: 44.11 MB / 0.6017 GB, free: 8.273 MB / 0.5105 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.215435300953686]