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.8409/0.8409, allocations: 120.4 MB / 139.5 MB, free: 484 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.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 2.024e-06/2.024e-06, allocations: 0 / 217.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.514e-05, allocations: 3.922 kB / 217.2 MB, free: 13.72 MB / 206.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.Fluid.Examples.SimpleExamples.TestDynamicCheckValve): time 1.523/1.523, allocations: 254.6 MB / 471.8 MB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4495/1.973, allocations: 165.2 MB / 0.622 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/1.973, allocations: 15.88 kB / 0.6221 GB, free: 4.109 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65: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:47:3-48:67: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:56:3-57:67: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:58:3-59:65: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.0003168/1.974, allocations: 59.5 kB / 0.6221 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005545/1.974, allocations: 159.4 kB / 0.6223 GB, free: 3.895 MB / 0.5606 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84: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.03442/2.009, allocations: 11.77 MB / 0.6338 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007912/2.009, allocations: 0.5063 MB / 0.6342 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/2.01, allocations: 205.1 kB / 0.6344 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004775/2.01, allocations: 315.3 kB / 0.6347 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/2.01, allocations: 167.5 kB / 0.6349 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/2.011, allocations: 44 kB / 0.6349 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0377/2.048, allocations: 18.67 MB / 0.6532 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/2.048, allocations: 111.6 kB / 0.6533 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000266/2.049, allocations: 159.6 kB / 0.6534 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02614/2.075, allocations: 12.43 MB / 0.6656 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/2.075, allocations: 0.6562 kB / 0.6656 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/2.075, allocations: 4 kB / 0.6656 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.878e-06/2.075, allocations: 4 kB / 0.6656 GB, free: 7.465 MB / 0.6075 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.005558/2.08, allocations: 1.916 MB / 0.6675 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/2.08, allocations: 8.031 kB / 0.6675 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/2.081, allocations: 67.61 kB / 0.6675 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/2.081, allocations: 296.8 kB / 0.6678 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/2.081, allocations: 80.97 kB / 0.6679 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/2.081, allocations: 44 kB / 0.6679 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007359/2.082, allocations: 402.7 kB / 0.6683 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/2.082, allocations: 4 kB / 0.6683 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/2.082, allocations: 23.94 kB / 0.6683 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/2.082, allocations: 8 kB / 0.6683 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/2.083, allocations: 279.1 kB / 0.6686 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/2.085, allocations: 1.215 MB / 0.6698 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/2.085, allocations: 214.5 kB / 0.67 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/2.085, allocations: 78.8 kB / 0.6701 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5525/2.638, allocations: 69.07 MB / 0.7375 GB, free: 81.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/2.638, allocations: 135.8 kB / 0.7377 GB, free: 81.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 2.345e-06/2.638, allocations: 0 / 0.7377 GB, free: 81.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.000962/2.639, allocations: 335.7 kB / 0.738 GB, free: 81.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/2.639, allocations: 60.53 kB / 0.738 GB, free: 81.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/2.64, allocations: 354.5 kB / 0.7384 GB, free: 81.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/2.64, allocations: 32.33 kB / 0.7384 GB, free: 81.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/2.64, allocations: 247.6 kB / 0.7386 GB, free: 81.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/2.64, allocations: 80.92 kB / 0.7387 GB, free: 81.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/2.64, allocations: 76.52 kB / 0.7388 GB, free: 81.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.439e-05/2.64, allocations: 338.4 kB / 0.7391 GB, free: 81.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/2.64, allocations: 88.64 kB / 0.7392 GB, free: 81.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/2.64, allocations: 180.9 kB / 0.7394 GB, free: 81.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/2.641, allocations: 262.6 kB / 0.7396 GB, free: 80.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/2.641, allocations: 0 / 0.7396 GB, free: 80.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007876/2.642, allocations: 384.1 kB / 0.74 GB, free: 80.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/2.642, allocations: 9.578 kB / 0.74 GB, free: 80.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/2.642, allocations: 2.656 kB / 0.74 GB, free: 80.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/2.643, allocations: 170.4 kB / 0.7402 GB, free: 80.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/2.643, allocations: 49.92 kB / 0.7402 GB, free: 80.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/2.645, allocations: 2.249 MB / 0.7424 GB, free: 78.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/2.645, allocations: 43.14 kB / 0.7424 GB, free: 78.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/2.645, allocations: 21.78 kB / 0.7425 GB, free: 78.94 MB / 0.6544 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 (sourceP1.C.ftype,puitsP1.fluid,checkValve.fluid,checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.fluid1,sourceP1.C.diff_on_2,checkValve.C2.diff_on_1) * 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 0.0001701/2.645, allocations: 167.4 kB / 0.7426 GB, free: 78.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/2.645, allocations: 40.92 kB / 0.7427 GB, free: 78.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006944/2.646, allocations: 314.4 kB / 0.743 GB, free: 78.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/2.646, allocations: 4.031 kB / 0.743 GB, free: 78.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/2.646, allocations: 4.484 kB / 0.743 GB, free: 78.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/2.646, allocations: 1.828 kB / 0.743 GB, free: 78.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/2.646, allocations: 285.7 kB / 0.7433 GB, free: 78.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/2.646, allocations: 0.5625 kB / 0.7433 GB, free: 78.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/2.647, allocations: 47.88 kB / 0.7433 GB, free: 78.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/2.647, allocations: 73.95 kB / 0.7434 GB, free: 78.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/2.647, allocations: 6.5 kB / 0.7434 GB, free: 78.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003084/2.647, allocations: 0.5719 MB / 0.7439 GB, free: 78.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/2.647, allocations: 0 / 0.7439 GB, free: 78.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/2.648, allocations: 391.6 kB / 0.7443 GB, free: 77.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/2.648, allocations: 61.97 kB / 0.7444 GB, free: 77.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/2.648, allocations: 3.5 kB / 0.7444 GB, free: 77.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/2.648, allocations: 16.72 kB / 0.7444 GB, free: 77.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/2.648, allocations: 23.56 kB / 0.7444 GB, free: 77.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/2.648, allocations: 15.64 kB / 0.7444 GB, free: 77.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002112/2.649, allocations: 238.1 kB / 0.7446 GB, free: 77.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/2.649, allocations: 0 / 0.7446 GB, free: 77.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003589/2.652, allocations: 1.499 MB / 0.7461 GB, free: 77.86 MB / 0.6544 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 (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.007457/2.66, allocations: 2.413 MB / 0.7485 GB, free: 77.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000834/2.661, allocations: 346.5 kB / 0.7488 GB, free: 77.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/2.661, allocations: 0.875 kB / 0.7488 GB, free: 77.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/2.661, allocations: 104.6 kB / 0.7489 GB, free: 77.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/2.661, allocations: 82.14 kB / 0.749 GB, free: 77.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/2.663, allocations: 0.7512 MB / 0.7497 GB, free: 77.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/2.663, allocations: 213.8 kB / 0.7499 GB, free: 77.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001691/2.663, allocations: 48.8 kB / 0.75 GB, free: 77.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/2.663, allocations: 40.5 kB / 0.75 GB, free: 77.02 MB / 0.6544 GB Notification: Performance of SimCode: time 9.71e-07/2.663, allocations: 0 / 0.75 GB, free: 77.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.05527/2.718, allocations: 47.42 MB / 0.7963 GB, free: 51.2 MB / 0.6544 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.43921710178256] Failed to read output from testmodel.py, exit status != 0: 2.84350299090147 2.854182627 0.776209181 Calling exit ...