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.804/0.804, allocations: 111.6 MB / 131 MB, free: 5.082 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.582e-06/1.582e-06, allocations: 0 / 175.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.403e-05, allocations: 2.312 kB / 175.7 MB, free: 9.453 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.69/1.69, allocations: 255 MB / 430.8 MB, free: 172 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4199/2.11, allocations: 181.5 MB / 0.5979 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/2.11, allocations: 11.88 kB / 0.5979 GB, free: 10.29 MB / 0.5105 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.000232/2.11, allocations: 59.44 kB / 0.598 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004142/2.11, allocations: 170.5 kB / 0.5982 GB, free: 10.07 MB / 0.5105 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.03066/2.141, allocations: 11.76 MB / 0.6096 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007802/2.142, allocations: 0.5025 MB / 0.6101 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/2.142, allocations: 221.2 kB / 0.6103 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/2.143, allocations: 319.2 kB / 0.6106 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/2.143, allocations: 167.5 kB / 0.6108 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/2.143, allocations: 44 kB / 0.6108 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03547/2.179, allocations: 18.66 MB / 0.6291 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/2.179, allocations: 107.6 kB / 0.6292 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/2.179, allocations: 155.6 kB / 0.6293 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02594/2.205, allocations: 12.45 MB / 0.6415 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/2.205, allocations: 0 / 0.6415 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.403e-06/2.205, allocations: 0 / 0.6415 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.856e-06/2.205, allocations: 0 / 0.6415 GB, free: 13.6 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.005049/2.21, allocations: 2.069 MB / 0.6435 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/2.21, allocations: 15.98 kB / 0.6435 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/2.21, allocations: 99.61 kB / 0.6436 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/2.211, allocations: 311.7 kB / 0.6439 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-05/2.211, allocations: 80.41 kB / 0.644 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/2.211, allocations: 44 kB / 0.644 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/2.212, allocations: 429.8 kB / 0.6444 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/2.212, allocations: 4 kB / 0.6444 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/2.212, allocations: 16 kB / 0.6445 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/2.212, allocations: 16.55 kB / 0.6445 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/2.212, allocations: 266.4 kB / 0.6447 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/2.215, allocations: 1.611 MB / 0.6463 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/2.215, allocations: 203.1 kB / 0.6465 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/2.215, allocations: 76.22 kB / 0.6466 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2605/2.476, allocations: 69.3 MB / 0.7142 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/2.476, allocations: 142.2 kB / 0.7144 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 6.592e-06/2.476, allocations: 4 kB / 0.7144 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001098/2.477, allocations: 338.3 kB / 0.7147 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/2.477, allocations: 51.41 kB / 0.7148 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/2.478, allocations: 458.5 kB / 0.7152 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/2.478, allocations: 33.7 kB / 0.7152 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/2.478, allocations: 303.1 kB / 0.7155 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/2.478, allocations: 75.39 kB / 0.7156 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/2.479, allocations: 99.61 kB / 0.7157 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002934/2.479, allocations: 0.5235 MB / 0.7162 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/2.479, allocations: 72.62 kB / 0.7163 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/2.479, allocations: 233.4 kB / 0.7165 GB, free: 384 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/2.48, allocations: 303.7 kB / 0.7168 GB, free: 16 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/2.48, allocations: 3.984 kB / 0.7168 GB, free: 12 kB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.1398/2.62, allocations: 398.1 kB / 0.7172 GB, free: 296.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/2.62, allocations: 9.172 kB / 0.7172 GB, free: 296.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/2.62, allocations: 2.094 kB / 0.7172 GB, free: 296.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009109/2.621, allocations: 155 kB / 0.7173 GB, free: 296.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/2.621, allocations: 56.39 kB / 0.7174 GB, free: 296.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/2.623, allocations: 3.133 MB / 0.7204 GB, free: 293.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/2.623, allocations: 39.8 kB / 0.7205 GB, free: 293.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/2.623, allocations: 15.47 kB / 0.7205 GB, free: 293.9 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 (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.0001543/2.623, allocations: 208 kB / 0.7207 GB, free: 293.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/2.623, allocations: 36.59 kB / 0.7207 GB, free: 293.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006469/2.624, allocations: 326.3 kB / 0.721 GB, free: 293.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/2.624, allocations: 0 / 0.721 GB, free: 293.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/2.624, allocations: 7.719 kB / 0.721 GB, free: 293.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/2.624, allocations: 0 / 0.721 GB, free: 293.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/2.624, allocations: 352.7 kB / 0.7214 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/2.624, allocations: 4.781 kB / 0.7214 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/2.624, allocations: 42.08 kB / 0.7214 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000351/2.625, allocations: 66.5 kB / 0.7215 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/2.625, allocations: 7.625 kB / 0.7215 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003152/2.625, allocations: 0.8341 MB / 0.7223 GB, free: 292.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/2.625, allocations: 1.812 kB / 0.7223 GB, free: 292.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/2.626, allocations: 400.6 kB / 0.7227 GB, free: 292.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/2.626, allocations: 61.45 kB / 0.7227 GB, free: 292.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/2.626, allocations: 10.28 kB / 0.7227 GB, free: 292.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/2.626, allocations: 19.47 kB / 0.7228 GB, free: 292.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/2.626, allocations: 26.98 kB / 0.7228 GB, free: 292.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/2.626, allocations: 11.64 kB / 0.7228 GB, free: 292.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002035/2.626, allocations: 282.1 kB / 0.7231 GB, free: 292.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/2.626, allocations: 0 / 0.7231 GB, free: 292.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002988/2.629, allocations: 1.496 MB / 0.7245 GB, free: 292.2 MB / 0.6198 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.005931/2.635, allocations: 2.405 MB / 0.7269 GB, free: 292 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007028/2.636, allocations: 416.5 kB / 0.7273 GB, free: 291.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/2.636, allocations: 2 kB / 0.7273 GB, free: 291.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/2.636, allocations: 125.8 kB / 0.7274 GB, free: 291.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/2.637, allocations: 83.34 kB / 0.7275 GB, free: 291.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/2.638, allocations: 0.7454 MB / 0.7282 GB, free: 291 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/2.638, allocations: 209.9 kB / 0.7284 GB, free: 290.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001421/2.638, allocations: 49.09 kB / 0.7285 GB, free: 290.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/2.638, allocations: 32.3 kB / 0.7285 GB, free: 290.8 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/2.638, allocations: 0 / 0.7285 GB, free: 290.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.0495/2.688, allocations: 48.45 MB / 0.7758 GB, free: 243.1 MB / 0.6198 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 14.648059752071276]