Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.4956/0.4956, allocations: 111.6 MB / 131.2 MB, free: 4.598 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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 176.1 MB, free: 9.25 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.249e-05, allocations: 4.984 kB / 176.1 MB, free: 9.246 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.049/1.049, allocations: 256.9 MB / 433 MB, free: 432 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03873/1.088, allocations: 33.3 MB / 466.3 MB, free: 15 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/1.088, allocations: 4 kB / 466.3 MB, free: 15 MB / 426.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/Diaphragm.mo:20:3-21: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/Diaphragm.mo:22:3-23: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.0003876/1.089, allocations: 107.3 kB / 466.5 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/1.089, allocations: 115.2 kB / 466.6 MB, free: 14.78 MB / 426.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.01902/1.108, allocations: 9.865 MB / 476.4 MB, free: 4.867 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/1.108, allocations: 362.8 kB / 476.8 MB, free: 4.512 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/1.108, allocations: 104.8 kB / 476.9 MB, free: 4.406 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/1.109, allocations: 235.3 kB / 477.1 MB, free: 4.176 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/1.109, allocations: 79.8 kB / 477.2 MB, free: 4.098 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/1.109, allocations: 20 kB / 477.2 MB, free: 4.078 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2461/1.355, allocations: 16.85 MB / 494.1 MB, free: 8.492 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/1.355, allocations: 49.2 kB / 494.1 MB, free: 8.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/1.355, allocations: 88.16 kB / 494.2 MB, free: 8.492 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/1.37, allocations: 10.81 MB / 0.4932 GB, free: 4.926 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.37, allocations: 0 / 0.4932 GB, free: 4.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/1.37, allocations: 0 / 0.4932 GB, free: 4.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/1.37, allocations: 0 / 0.4932 GB, free: 4.926 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002956/1.373, allocations: 1.52 MB / 0.4947 GB, free: 3.828 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.373, allocations: 15.11 kB / 0.4947 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/1.373, allocations: 46.36 kB / 0.4947 GB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.373, allocations: 179.3 kB / 0.4949 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/1.373, allocations: 21.89 kB / 0.4949 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/1.373, allocations: 18.89 kB / 0.4949 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/1.374, allocations: 304.2 kB / 0.4952 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.374, allocations: 4.156 kB / 0.4952 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/1.374, allocations: 12.28 kB / 0.4952 GB, free: 3.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/1.374, allocations: 14.27 kB / 0.4952 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/1.374, allocations: 97.41 kB / 0.4953 GB, free: 3.324 MB / 426.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.01743/1.391, allocations: 11.26 MB / 0.5063 GB, free: 12.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/1.392, allocations: 95.09 kB / 0.5064 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/1.392, allocations: 38.86 kB / 0.5065 GB, free: 12.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07555/1.467, allocations: 43.78 MB / 0.5492 GB, free: 456 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/1.467, allocations: 37.39 kB / 0.5493 GB, free: 408 kB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.355e-06/1.467, allocations: 0 / 0.5493 GB, free: 408 kB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005897/1.468, allocations: 237 kB / 0.5495 GB, free: 164 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.468, allocations: 77.11 kB / 0.5496 GB, free: 68 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/1.468, allocations: 233.8 kB / 0.5498 GB, free: 15.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/1.468, allocations: 25.7 kB / 0.5498 GB, free: 15.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/1.468, allocations: 219.1 kB / 0.55 GB, free: 15.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/1.468, allocations: 122.6 kB / 0.5501 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/1.468, allocations: 59.3 kB / 0.5502 GB, free: 15.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/1.468, allocations: 0.5078 MB / 0.5507 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/1.468, allocations: 31.98 kB / 0.5507 GB, free: 14.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/1.469, allocations: 143 kB / 0.5508 GB, free: 14.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/1.469, allocations: 174.4 kB / 0.551 GB, free: 14.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.469, allocations: 0 / 0.551 GB, free: 14.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002624/1.469, allocations: 223.5 kB / 0.5512 GB, free: 14.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.469, allocations: 8 kB / 0.5512 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.469, allocations: 0 / 0.5512 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004923/1.47, allocations: 117.2 kB / 0.5513 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.973e-05/1.47, allocations: 15.98 kB / 0.5514 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004035/1.47, allocations: 0.8632 MB / 0.5522 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/1.47, allocations: 19.78 kB / 0.5522 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/1.47, allocations: 8 kB / 0.5522 GB, free: 13.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/1.47, allocations: 172.3 kB / 0.5524 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/1.47, allocations: 27.84 kB / 0.5524 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006236/1.471, allocations: 0.6228 MB / 0.553 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002401/1.471, allocations: 174.7 kB / 0.5532 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.471, allocations: 7.984 kB / 0.5532 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.471, allocations: 4 kB / 0.5532 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/1.472, allocations: 0.6163 MB / 0.5538 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.472, allocations: 0.75 kB / 0.5538 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/1.472, allocations: 23.36 kB / 0.5538 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/1.472, allocations: 96.81 kB / 0.5539 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/1.472, allocations: 7.938 kB / 0.5539 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003294/1.472, allocations: 0.8475 MB / 0.5548 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.472, allocations: 4.422 kB / 0.5548 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/1.473, allocations: 354 kB / 0.5551 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/1.473, allocations: 27.83 kB / 0.5551 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/1.473, allocations: 7.984 kB / 0.5551 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/1.473, allocations: 12.61 kB / 0.5551 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/1.473, allocations: 8.734 kB / 0.5552 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/1.473, allocations: 4 kB / 0.5552 GB, free: 10.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001279/1.473, allocations: 225.1 kB / 0.5554 GB, free: 9.789 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/1.473, allocations: 0 / 0.5554 GB, free: 9.789 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002373/1.475, allocations: 1.243 MB / 0.5566 GB, free: 8.543 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.003869/1.479, allocations: 1.948 MB / 0.5585 GB, free: 6.836 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004108/1.48, allocations: 196 kB / 0.5587 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.48, allocations: 0 / 0.5587 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/1.48, allocations: 88.92 kB / 0.5588 GB, free: 6.555 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/1.48, allocations: 123.2 kB / 0.5589 GB, free: 6.445 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/1.481, allocations: 0.4945 MB / 0.5594 GB, free: 5.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/1.481, allocations: 93.48 kB / 0.5594 GB, free: 5.824 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.703e-05/1.481, allocations: 22.11 kB / 0.5595 GB, free: 5.809 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/1.481, allocations: 24.48 kB / 0.5595 GB, free: 5.781 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/1.481, allocations: 0 / 0.5595 GB, free: 5.781 MB / 490.7 MB Notification: Performance of Templates: time 0.04032/1.522, allocations: 43.51 MB / 0.602 GB, free: 10.59 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.252073167823255]