Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.4805/0.4805, allocations: 111.6 MB / 131.2 MB, free: 5.07 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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 176.1 MB, free: 9.258 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.49e-05, allocations: 5.047 kB / 176.2 MB, free: 9.254 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.117/1.117, allocations: 257 MB / 433.2 MB, free: 11.98 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.3139/1.431, allocations: 184.2 MB / 0.6029 GB, free: 4.965 MB / 0.5106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/1.431, allocations: 7.938 kB / 0.6029 GB, free: 4.957 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/Diaphragm.mo:27:3-28: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/Diaphragm.mo:29:3-30: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.0001041/1.431, allocations: 51.52 kB / 0.6029 GB, free: 4.906 MB / 0.5106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/1.431, allocations: 114.9 kB / 0.603 GB, free: 4.793 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.02025/1.452, allocations: 12.42 MB / 0.6152 GB, free: 8.344 MB / 0.5263 GB Notification: Performance of NFFlatten.flatten: time 0.0003632/1.452, allocations: 420.8 kB / 0.6156 GB, free: 7.934 MB / 0.5263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/1.452, allocations: 177.7 kB / 0.6157 GB, free: 7.758 MB / 0.5263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/1.453, allocations: 267.3 kB / 0.616 GB, free: 7.496 MB / 0.5263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/1.453, allocations: 119.7 kB / 0.6161 GB, free: 7.379 MB / 0.5263 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/1.453, allocations: 36 kB / 0.6161 GB, free: 7.344 MB / 0.5263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0224/1.475, allocations: 19.67 MB / 0.6353 GB, free: 3.648 MB / 0.5419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/1.475, allocations: 87.67 kB / 0.6354 GB, free: 3.562 MB / 0.5419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/1.475, allocations: 135.7 kB / 0.6355 GB, free: 3.43 MB / 0.5419 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/1.492, allocations: 12.9 MB / 0.6481 GB, free: 6.5 MB / 0.5575 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.492, allocations: 0 / 0.6481 GB, free: 6.5 MB / 0.5575 GB Notification: Performance of FrontEnd: time 1.092e-06/1.492, allocations: 0 / 0.6481 GB, free: 6.5 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.492, allocations: 0 / 0.6481 GB, free: 6.5 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002963/1.495, allocations: 2.003 MB / 0.6501 GB, free: 4.449 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.495, allocations: 15.98 kB / 0.6501 GB, free: 4.434 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/1.495, allocations: 79.66 kB / 0.6502 GB, free: 4.355 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/1.495, allocations: 270.8 kB / 0.6504 GB, free: 4.062 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/1.495, allocations: 25 kB / 0.6505 GB, free: 4.039 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/1.495, allocations: 35.94 kB / 0.6505 GB, free: 4.004 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/1.495, allocations: 376.9 kB / 0.6509 GB, free: 3.586 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.495, allocations: 0 / 0.6509 GB, free: 3.586 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/1.495, allocations: 16 kB / 0.6509 GB, free: 3.57 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/1.495, allocations: 15.98 kB / 0.6509 GB, free: 3.555 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/1.496, allocations: 155.7 kB / 0.651 GB, free: 3.402 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/1.5, allocations: 3.479 MB / 0.6544 GB, free: 15.85 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/1.5, allocations: 67.05 kB / 0.6545 GB, free: 15.77 MB / 0.5731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/1.5, allocations: 19.62 kB / 0.6545 GB, free: 15.75 MB / 0.5731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3384/1.838, allocations: 89.05 MB / 0.7415 GB, free: 97.57 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.838, allocations: 39.83 kB / 0.7415 GB, free: 97.52 MB / 0.62 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/1.838, allocations: 0 / 0.7415 GB, free: 97.52 MB / 0.62 GB Notification: Performance of matching and sorting (n=7): time 0.0004814/1.839, allocations: 155.3 kB / 0.7417 GB, free: 97.48 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/1.839, allocations: 81.11 kB / 0.7418 GB, free: 97.38 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/1.839, allocations: 352 kB / 0.7421 GB, free: 97.21 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/1.839, allocations: 29.27 kB / 0.7421 GB, free: 97.18 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/1.839, allocations: 292.2 kB / 0.7424 GB, free: 97 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/1.839, allocations: 23.23 kB / 0.7424 GB, free: 96.98 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/1.839, allocations: 76.39 kB / 0.7425 GB, free: 96.95 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 4.304e-05/1.839, allocations: 0.4997 MB / 0.743 GB, free: 96.46 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.42e-05/1.839, allocations: 31.44 kB / 0.743 GB, free: 96.46 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/1.839, allocations: 206.3 kB / 0.7432 GB, free: 96.23 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/1.839, allocations: 228.6 kB / 0.7434 GB, free: 96.04 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.839, allocations: 1.375 kB / 0.7434 GB, free: 96.04 MB / 0.62 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000251/1.839, allocations: 246.7 kB / 0.7437 GB, free: 95.98 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.839, allocations: 9.875 kB / 0.7437 GB, free: 95.98 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.84, allocations: 3.656 kB / 0.7437 GB, free: 95.98 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004003/1.84, allocations: 73.97 kB / 0.7437 GB, free: 95.96 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/1.84, allocations: 45.88 kB / 0.7438 GB, free: 95.96 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002153/1.84, allocations: 0.8202 MB / 0.7446 GB, free: 95.16 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/1.84, allocations: 35.48 kB / 0.7446 GB, free: 95.15 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/1.84, allocations: 11.39 kB / 0.7446 GB, free: 95.15 MB / 0.62 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/1.84, allocations: 175.5 kB / 0.7448 GB, free: 94.99 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/1.84, allocations: 25.55 kB / 0.7448 GB, free: 94.98 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/1.841, allocations: 165.6 kB / 0.745 GB, free: 94.91 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.841, allocations: 4.594 kB / 0.745 GB, free: 94.91 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.841, allocations: 0.75 kB / 0.745 GB, free: 94.91 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.841, allocations: 4 kB / 0.745 GB, free: 94.91 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/1.841, allocations: 221.9 kB / 0.7452 GB, free: 94.77 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.841, allocations: 3.594 kB / 0.7452 GB, free: 94.77 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/1.841, allocations: 9.156 kB / 0.7452 GB, free: 94.77 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/1.841, allocations: 54.25 kB / 0.7453 GB, free: 94.76 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/1.841, allocations: 5.375 kB / 0.7453 GB, free: 94.76 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001647/1.841, allocations: 0.823 MB / 0.7461 GB, free: 93.96 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.841, allocations: 1.562 kB / 0.7461 GB, free: 93.96 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/1.841, allocations: 165.6 kB / 0.7462 GB, free: 93.86 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/1.841, allocations: 39.42 kB / 0.7463 GB, free: 93.84 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/1.842, allocations: 4.875 kB / 0.7463 GB, free: 93.84 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/1.842, allocations: 2.625 kB / 0.7463 GB, free: 93.84 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/1.842, allocations: 6.047 kB / 0.7463 GB, free: 93.84 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/1.842, allocations: 4.281 kB / 0.7463 GB, free: 93.84 MB / 0.62 GB Notification: Performance of sorting global known variables: time 9.269e-05/1.842, allocations: 229.3 kB / 0.7465 GB, free: 93.72 MB / 0.62 GB Notification: Performance of sort global known variables: time 6e-08/1.842, allocations: 0 / 0.7465 GB, free: 93.72 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.002093/1.844, allocations: 1.637 MB / 0.7481 GB, free: 93.71 MB / 0.62 GB 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 (4): * Single equations (assignments): 3 * 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.003483/1.847, allocations: 2.711 MB / 0.7508 GB, free: 93.42 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.0002303/1.847, allocations: 111.2 kB / 0.7509 GB, free: 93.41 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.847, allocations: 4.312 kB / 0.7509 GB, free: 93.4 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 5.514e-05/1.848, allocations: 37.19 kB / 0.7509 GB, free: 93.39 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/1.848, allocations: 73.69 kB / 0.751 GB, free: 93.38 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/1.849, allocations: 0.5005 MB / 0.7515 GB, free: 93.06 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.064e-05/1.849, allocations: 93.09 kB / 0.7515 GB, free: 92.99 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 7.356e-05/1.849, allocations: 37.03 kB / 0.7516 GB, free: 92.98 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/1.849, allocations: 24.81 kB / 0.7516 GB, free: 92.97 MB / 0.62 GB Notification: Performance of SimCode: time 3.61e-07/1.849, allocations: 4 kB / 0.7516 GB, free: 92.97 MB / 0.62 GB Notification: Performance of Templates: time 0.03989/1.889, allocations: 62.29 MB / 0.8124 GB, free: 43.52 MB / 0.62 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.945625833235681]