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.4841/0.4841, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.934e-06/1.934e-06, allocations: 0 / 176.2 MB, free: 9.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.659e-05, allocations: 8.562 kB / 176.2 MB, free: 9.145 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.17/1.17, allocations: 257.3 MB / 433.5 MB, free: 10.58 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.3392/1.509, allocations: 182 MB / 0.6011 GB, free: 6.102 MB / 0.5106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/1.509, allocations: 15.88 kB / 0.6011 GB, free: 6.086 MB / 0.5106 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.0002124/1.51, allocations: 55.44 kB / 0.6011 GB, free: 6.031 MB / 0.5106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003359/1.51, allocations: 162.6 kB / 0.6013 GB, free: 5.871 MB / 0.5106 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.02169/1.532, allocations: 11.78 MB / 0.6128 GB, free: 10.06 MB / 0.5263 GB Notification: Performance of NFFlatten.flatten: time 0.0005401/1.532, allocations: 0.5102 MB / 0.6133 GB, free: 9.547 MB / 0.5263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/1.532, allocations: 221.2 kB / 0.6135 GB, free: 9.328 MB / 0.5263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/1.533, allocations: 323.2 kB / 0.6138 GB, free: 9.012 MB / 0.5263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/1.533, allocations: 155.5 kB / 0.614 GB, free: 8.859 MB / 0.5263 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/1.533, allocations: 40 kB / 0.614 GB, free: 8.82 MB / 0.5263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02338/1.556, allocations: 18.66 MB / 0.6322 GB, free: 6.133 MB / 0.5419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/1.557, allocations: 111.6 kB / 0.6323 GB, free: 6.023 MB / 0.5419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/1.557, allocations: 151.6 kB / 0.6325 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of NFConvertDAE.convert: time 0.01958/1.576, allocations: 12.28 MB / 0.6445 GB, free: 9.562 MB / 0.5575 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.576, allocations: 4 kB / 0.6445 GB, free: 9.559 MB / 0.5575 GB Notification: Performance of FrontEnd: time 1.503e-06/1.576, allocations: 0 / 0.6445 GB, free: 9.559 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 8.616e-06/1.576, allocations: 0 / 0.6445 GB, free: 9.559 MB / 0.5575 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.003612/1.58, allocations: 2.007 MB / 0.6464 GB, free: 7.5 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.58, allocations: 11.98 kB / 0.6464 GB, free: 7.488 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/1.58, allocations: 91.67 kB / 0.6465 GB, free: 7.398 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/1.581, allocations: 335.5 kB / 0.6469 GB, free: 7.047 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/1.581, allocations: 80.41 kB / 0.6469 GB, free: 6.957 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/1.581, allocations: 36 kB / 0.647 GB, free: 6.922 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/1.581, allocations: 358.6 kB / 0.6473 GB, free: 6.531 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.581, allocations: 3.938 kB / 0.6473 GB, free: 6.527 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/1.581, allocations: 16 kB / 0.6473 GB, free: 6.512 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.581, allocations: 11.94 kB / 0.6473 GB, free: 6.5 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/1.581, allocations: 164.6 kB / 0.6475 GB, free: 6.344 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/1.583, allocations: 1.488 MB / 0.6489 GB, free: 4.793 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/1.583, allocations: 131.1 kB / 0.6491 GB, free: 4.652 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.708e-05/1.583, allocations: 51.66 kB / 0.6491 GB, free: 4.598 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3225/1.905, allocations: 69.32 MB / 0.7168 GB, free: 101.3 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/1.906, allocations: 110.6 kB / 0.7169 GB, free: 101.2 MB / 0.62 GB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/1.906, allocations: 2.5 kB / 0.7169 GB, free: 101.2 MB / 0.62 GB Notification: Performance of matching and sorting (n=21): time 0.0006566/1.906, allocations: 265.4 kB / 0.7172 GB, free: 101.2 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/1.906, allocations: 58.98 kB / 0.7172 GB, free: 101.1 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/1.907, allocations: 387 kB / 0.7176 GB, free: 101 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/1.907, allocations: 29.83 kB / 0.7176 GB, free: 100.9 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.907, allocations: 302.4 kB / 0.7179 GB, free: 100.8 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/1.907, allocations: 74.44 kB / 0.718 GB, free: 100.7 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/1.907, allocations: 84.58 kB / 0.7181 GB, free: 100.7 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/1.907, allocations: 0.5096 MB / 0.7186 GB, free: 100.2 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/1.907, allocations: 41.16 kB / 0.7186 GB, free: 100.2 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/1.907, allocations: 194.6 kB / 0.7188 GB, free: 100.1 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/1.907, allocations: 244.7 kB / 0.719 GB, free: 99.88 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.907, allocations: 1.344 kB / 0.719 GB, free: 99.88 MB / 0.62 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004897/1.908, allocations: 336.8 kB / 0.7194 GB, free: 99.8 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.908, allocations: 8.516 kB / 0.7194 GB, free: 99.8 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.908, allocations: 3.625 kB / 0.7194 GB, free: 99.8 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/1.908, allocations: 119 kB / 0.7195 GB, free: 99.78 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/1.909, allocations: 50.17 kB / 0.7195 GB, free: 99.78 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/1.91, allocations: 2.962 MB / 0.7224 GB, free: 97.01 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/1.91, allocations: 32.94 kB / 0.7224 GB, free: 97 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/1.91, allocations: 17.44 kB / 0.7225 GB, free: 97 MB / 0.62 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.0001069/1.91, allocations: 182.6 kB / 0.7226 GB, free: 96.84 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/1.91, allocations: 44.55 kB / 0.7227 GB, free: 96.82 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/1.911, allocations: 281.9 kB / 0.723 GB, free: 96.74 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.911, allocations: 2.938 kB / 0.723 GB, free: 96.74 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/1.911, allocations: 4.703 kB / 0.723 GB, free: 96.74 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.911, allocations: 4.781 kB / 0.723 GB, free: 96.74 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/1.911, allocations: 282.7 kB / 0.7232 GB, free: 96.6 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.911, allocations: 0.9688 kB / 0.7232 GB, free: 96.6 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/1.911, allocations: 48.61 kB / 0.7233 GB, free: 96.6 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/1.911, allocations: 49.95 kB / 0.7233 GB, free: 96.59 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/1.911, allocations: 5.156 kB / 0.7233 GB, free: 96.59 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001946/1.911, allocations: 0.8163 MB / 0.7241 GB, free: 95.79 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.911, allocations: 4.875 kB / 0.7241 GB, free: 95.79 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/1.912, allocations: 314.5 kB / 0.7244 GB, free: 95.67 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 8.232e-05/1.912, allocations: 60.55 kB / 0.7245 GB, free: 95.65 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/1.912, allocations: 6.219 kB / 0.7245 GB, free: 95.65 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/1.912, allocations: 13.44 kB / 0.7245 GB, free: 95.64 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/1.912, allocations: 33.05 kB / 0.7245 GB, free: 95.64 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/1.912, allocations: 9.75 kB / 0.7246 GB, free: 95.64 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.000145/1.912, allocations: 249.1 kB / 0.7248 GB, free: 95.52 MB / 0.62 GB Notification: Performance of sort global known variables: time 7.1e-08/1.912, allocations: 0 / 0.7248 GB, free: 95.52 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.002894/1.915, allocations: 1.49 MB / 0.7262 GB, free: 95.51 MB / 0.62 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.004902/1.92, allocations: 2.405 MB / 0.7286 GB, free: 95.39 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.0005662/1.921, allocations: 359.4 kB / 0.7289 GB, free: 95.2 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.921, allocations: 0 / 0.7289 GB, free: 95.2 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/1.921, allocations: 101.4 kB / 0.729 GB, free: 95.18 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/1.921, allocations: 87.56 kB / 0.7291 GB, free: 95.18 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/1.922, allocations: 0.7299 MB / 0.7298 GB, free: 94.8 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.197e-05/1.922, allocations: 102.5 kB / 0.7299 GB, free: 94.73 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.0001189/1.922, allocations: 50.05 kB / 0.73 GB, free: 94.71 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/1.923, allocations: 36.53 kB / 0.73 GB, free: 94.7 MB / 0.62 GB Notification: Performance of SimCode: time 1.322e-06/1.923, allocations: 1.203 kB / 0.73 GB, free: 94.7 MB / 0.62 GB Notification: Performance of Templates: time 0.04933/1.972, allocations: 59.9 MB / 0.7885 GB, free: 67.86 MB / 0.62 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: 7.707808796782047]