Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.5166/0.5166, allocations: 111.6 MB / 131.5 MB, free: 4.91 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.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 176.6 MB, free: 8.914 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.147e-05, allocations: 5.703 kB / 176.6 MB, free: 8.91 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.Fluid.Examples.SimpleExamples.TestDynamicCheckValve): time 1.058/1.058, allocations: 263.1 MB / 439.8 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3676/1.426, allocations: 181.3 MB / 0.6065 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/1.426, allocations: 15.88 kB / 0.6065 GB, free: 13.92 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/DynamicCheckValve.mo:46:3-47:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/DynamicCheckValve.mo:48:3-49:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001803/1.426, allocations: 55.5 kB / 0.6066 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002776/1.426, allocations: 166.5 kB / 0.6067 GB, free: 13.7 MB / 0.5261 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.01917/1.446, allocations: 11.88 MB / 0.6183 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/1.446, allocations: 0.5024 MB / 0.6188 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/1.446, allocations: 230.6 kB / 0.619 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/1.446, allocations: 323.1 kB / 0.6193 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/1.447, allocations: 163.5 kB / 0.6195 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/1.447, allocations: 40 kB / 0.6195 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01968/1.466, allocations: 18.64 MB / 0.6377 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/1.466, allocations: 111.6 kB / 0.6378 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/1.467, allocations: 159.5 kB / 0.638 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01348/1.48, allocations: 12.27 MB / 0.65 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.48, allocations: 0 / 0.65 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.222e-06/1.48, allocations: 0 / 0.65 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.921e-06/1.48, allocations: 4 kB / 0.65 GB, free: 1.305 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.002991/1.483, allocations: 1.84 MB / 0.6518 GB, free: 15.43 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/1.483, allocations: 15.97 kB / 0.6518 GB, free: 15.41 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/1.483, allocations: 75.94 kB / 0.6519 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/1.483, allocations: 282 kB / 0.6521 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/1.484, allocations: 80.41 kB / 0.6522 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/1.484, allocations: 36 kB / 0.6522 GB, free: 14.91 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/1.484, allocations: 325.5 kB / 0.6526 GB, free: 14.56 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.484, allocations: 7.953 kB / 0.6526 GB, free: 14.55 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.484, allocations: 12 kB / 0.6526 GB, free: 14.54 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.484, allocations: 15.94 kB / 0.6526 GB, free: 14.53 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/1.484, allocations: 127 kB / 0.6527 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/1.485, allocations: 1.001 MB / 0.6537 GB, free: 13.37 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/1.485, allocations: 103 kB / 0.6538 GB, free: 13.26 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/1.485, allocations: 40.83 kB / 0.6538 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3499/1.835, allocations: 63.2 MB / 0.7155 GB, free: 94.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/1.835, allocations: 107.2 kB / 0.7156 GB, free: 94.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.735e-06/1.835, allocations: 1.031 kB / 0.7156 GB, free: 94.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0005214/1.836, allocations: 189.5 kB / 0.7158 GB, free: 94.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/1.836, allocations: 56.59 kB / 0.7159 GB, free: 94.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/1.836, allocations: 322.6 kB / 0.7162 GB, free: 94.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/1.836, allocations: 30.52 kB / 0.7162 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/1.836, allocations: 228.2 kB / 0.7164 GB, free: 93.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/1.836, allocations: 78.25 kB / 0.7165 GB, free: 93.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/1.836, allocations: 88.36 kB / 0.7166 GB, free: 93.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/1.836, allocations: 336.2 kB / 0.7169 GB, free: 93.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/1.836, allocations: 29.17 kB / 0.7169 GB, free: 93.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/1.836, allocations: 133.9 kB / 0.7171 GB, free: 93.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/1.836, allocations: 199.5 kB / 0.7173 GB, free: 93.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.837, allocations: 1.656 kB / 0.7173 GB, free: 93.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003477/1.837, allocations: 240.5 kB / 0.7175 GB, free: 93.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.837, allocations: 10.03 kB / 0.7175 GB, free: 93.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.837, allocations: 5.781 kB / 0.7175 GB, free: 93.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/1.837, allocations: 107 kB / 0.7176 GB, free: 93.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/1.837, allocations: 46.14 kB / 0.7176 GB, free: 93.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009285/1.838, allocations: 1.994 MB / 0.7196 GB, free: 91.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/1.838, allocations: 28.08 kB / 0.7196 GB, free: 91.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/1.838, allocations: 15.75 kB / 0.7196 GB, free: 91.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (checkValve.C2.diff_on_1,sourceP1.C.diff_on_2,sourceP1.fluid1,checkValve.fluid,puitsP1.fluid,checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.C.ftype) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.933e-05/1.839, allocations: 138.5 kB / 0.7198 GB, free: 91.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/1.839, allocations: 28.22 kB / 0.7198 GB, free: 91.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/1.839, allocations: 218.7 kB / 0.72 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.839, allocations: 3.594 kB / 0.72 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/1.839, allocations: 0 / 0.72 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.839, allocations: 4.062 kB / 0.72 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/1.839, allocations: 186.6 kB / 0.7202 GB, free: 91.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.839, allocations: 0.5625 kB / 0.7202 GB, free: 91.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/1.839, allocations: 43.61 kB / 0.7202 GB, free: 91.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/1.839, allocations: 51.8 kB / 0.7203 GB, free: 91.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.839, allocations: 6.453 kB / 0.7203 GB, free: 91.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000144/1.839, allocations: 0.5417 MB / 0.7208 GB, free: 90.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/1.839, allocations: 0 / 0.7208 GB, free: 90.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/1.84, allocations: 233.6 kB / 0.721 GB, free: 90.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/1.84, allocations: 48.39 kB / 0.7211 GB, free: 90.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/1.84, allocations: 10.2 kB / 0.7211 GB, free: 90.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/1.84, allocations: 8.312 kB / 0.7211 GB, free: 90.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/1.84, allocations: 30.61 kB / 0.7211 GB, free: 90.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/1.84, allocations: 6.719 kB / 0.7211 GB, free: 90.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.669e-05/1.84, allocations: 123.4 kB / 0.7213 GB, free: 90.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/1.84, allocations: 1.094 kB / 0.7213 GB, free: 90.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002919/1.843, allocations: 1.489 MB / 0.7227 GB, free: 90.53 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.theta,checkValve.omega) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003805/1.847, allocations: 2.562 MB / 0.7252 GB, free: 90.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003263/1.847, allocations: 271.9 kB / 0.7255 GB, free: 90.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/1.847, allocations: 5.062 kB / 0.7255 GB, free: 90.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/1.847, allocations: 82.56 kB / 0.7256 GB, free: 90.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/1.847, allocations: 73.5 kB / 0.7256 GB, free: 90.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009936/1.848, allocations: 0.7234 MB / 0.7263 GB, free: 89.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.635e-05/1.848, allocations: 109.6 kB / 0.7264 GB, free: 89.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001046/1.849, allocations: 50.47 kB / 0.7265 GB, free: 89.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/1.849, allocations: 120.3 kB / 0.7266 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/1.849, allocations: 0 / 0.7266 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.0465/1.895, allocations: 55.65 MB / 0.7809 GB, free: 66.95 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.792868063785136]