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.4964/0.4964, allocations: 111.6 MB / 131.5 MB, free: 4.395 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 2.435e-06/2.435e-06, allocations: 0 / 176.6 MB, free: 8.914 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.952e-05, allocations: 5.125 kB / 176.6 MB, free: 8.91 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.074/1.074, allocations: 262.8 MB / 439.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3757/1.45, allocations: 183.5 MB / 0.6083 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/1.45, allocations: 11.88 kB / 0.6083 GB, free: 12.73 MB / 0.5261 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.0001323/1.45, allocations: 39.59 kB / 0.6083 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003388/1.45, allocations: 134.8 kB / 0.6084 GB, free: 12.55 MB / 0.5261 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.02406/1.474, allocations: 12.52 MB / 0.6207 GB, free: 0 / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005507/1.475, allocations: 422.5 kB / 0.6211 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/1.475, allocations: 183.7 kB / 0.6212 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/1.476, allocations: 271.4 kB / 0.6215 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/1.476, allocations: 119.6 kB / 0.6216 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/1.476, allocations: 39.94 kB / 0.6217 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02502/1.501, allocations: 19.64 MB / 0.6408 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/1.501, allocations: 91.66 kB / 0.6409 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/1.501, allocations: 131.7 kB / 0.6411 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02293/1.524, allocations: 12.89 MB / 0.6536 GB, free: 14.16 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.524, allocations: 4 kB / 0.6536 GB, free: 14.16 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.193e-06/1.524, allocations: 0 / 0.6536 GB, free: 14.16 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.418e-06/1.524, allocations: 0 / 0.6536 GB, free: 14.16 MB / 0.573 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.00357/1.528, allocations: 1.878 MB / 0.6555 GB, free: 12.25 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/1.528, allocations: 11.98 kB / 0.6555 GB, free: 12.23 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/1.528, allocations: 65 kB / 0.6556 GB, free: 12.17 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/1.528, allocations: 232 kB / 0.6558 GB, free: 11.92 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/1.528, allocations: 32.98 kB / 0.6558 GB, free: 11.89 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/1.528, allocations: 43.88 kB / 0.6558 GB, free: 11.84 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/1.528, allocations: 333 kB / 0.6562 GB, free: 11.48 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.528, allocations: 0 / 0.6562 GB, free: 11.48 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/1.528, allocations: 15.94 kB / 0.6562 GB, free: 11.46 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/1.528, allocations: 8 kB / 0.6562 GB, free: 11.45 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/1.528, allocations: 119.1 kB / 0.6563 GB, free: 11.34 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/1.533, allocations: 3.439 MB / 0.6597 GB, free: 7.859 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.748e-05/1.533, allocations: 47.11 kB / 0.6597 GB, free: 7.805 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/1.533, allocations: 16.84 kB / 0.6597 GB, free: 7.785 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3478/1.88, allocations: 80.13 MB / 0.738 GB, free: 90.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.88, allocations: 38.72 kB / 0.738 GB, free: 90.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/1.88, allocations: 0 / 0.738 GB, free: 90.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003793/1.881, allocations: 118.7 kB / 0.7381 GB, free: 90.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/1.881, allocations: 77.11 kB / 0.7382 GB, free: 90.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/1.881, allocations: 284.3 kB / 0.7385 GB, free: 90.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/1.881, allocations: 32.2 kB / 0.7385 GB, free: 90.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/1.881, allocations: 234.5 kB / 0.7387 GB, free: 90.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/1.881, allocations: 34.56 kB / 0.7388 GB, free: 90.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/1.881, allocations: 65.3 kB / 0.7388 GB, free: 90.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/1.881, allocations: 331.2 kB / 0.7391 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/1.881, allocations: 17.08 kB / 0.7392 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/1.881, allocations: 164.5 kB / 0.7393 GB, free: 89.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/1.881, allocations: 161.9 kB / 0.7395 GB, free: 89.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.881, allocations: 0 / 0.7395 GB, free: 89.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002157/1.882, allocations: 182.4 kB / 0.7396 GB, free: 89.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.882, allocations: 10.73 kB / 0.7396 GB, free: 89.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.882, allocations: 3.688 kB / 0.7397 GB, free: 89.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/1.882, allocations: 72.17 kB / 0.7397 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/1.882, allocations: 41.36 kB / 0.7398 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001855/1.882, allocations: 0.5401 MB / 0.7403 GB, free: 88.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.949e-05/1.882, allocations: 32.31 kB / 0.7403 GB, free: 88.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/1.882, allocations: 8.875 kB / 0.7403 GB, free: 88.88 MB / 0.6198 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 (Diaphragm.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,SourceP1.C.ftype,Diaphragm.fluid,PuitsP1.fluid) * 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.56e-05/1.882, allocations: 136.5 kB / 0.7405 GB, free: 88.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/1.882, allocations: 15.67 kB / 0.7405 GB, free: 88.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/1.883, allocations: 134.7 kB / 0.7406 GB, free: 88.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.883, allocations: 2.406 kB / 0.7406 GB, free: 88.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.883, allocations: 5.25 kB / 0.7406 GB, free: 88.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/1.883, allocations: 0 / 0.7406 GB, free: 88.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/1.883, allocations: 144.2 kB / 0.7407 GB, free: 88.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.883, allocations: 0.875 kB / 0.7407 GB, free: 88.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/1.883, allocations: 5.438 kB / 0.7408 GB, free: 88.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/1.883, allocations: 61.38 kB / 0.7408 GB, free: 88.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/1.883, allocations: 7.031 kB / 0.7408 GB, free: 88.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001366/1.883, allocations: 0.5359 MB / 0.7413 GB, free: 88.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.883, allocations: 0 / 0.7413 GB, free: 88.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/1.883, allocations: 125.9 kB / 0.7415 GB, free: 88.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/1.883, allocations: 44.98 kB / 0.7415 GB, free: 88.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.883, allocations: 1.875 kB / 0.7415 GB, free: 88.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/1.883, allocations: 2.094 kB / 0.7415 GB, free: 88.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/1.883, allocations: 2.812 kB / 0.7415 GB, free: 88.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/1.883, allocations: 4.266 kB / 0.7415 GB, free: 88.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.391e-05/1.884, allocations: 100.4 kB / 0.7416 GB, free: 88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.884, allocations: 0 / 0.7416 GB, free: 88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002504/1.886, allocations: 1.633 MB / 0.7432 GB, free: 87.99 MB / 0.6198 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.003789/1.89, allocations: 2.864 MB / 0.746 GB, free: 87.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001829/1.89, allocations: 101.2 kB / 0.7461 GB, free: 87.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.89, allocations: 5.031 kB / 0.7461 GB, free: 87.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/1.89, allocations: 35.52 kB / 0.7461 GB, free: 87.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/1.89, allocations: 82.27 kB / 0.7462 GB, free: 87.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/1.891, allocations: 0.4992 MB / 0.7467 GB, free: 87.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/1.891, allocations: 89.56 kB / 0.7468 GB, free: 87.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.527e-05/1.891, allocations: 40.23 kB / 0.7468 GB, free: 87.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/1.891, allocations: 98.73 kB / 0.7469 GB, free: 87.15 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/1.891, allocations: 0 / 0.7469 GB, free: 87.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.04029/1.931, allocations: 57.71 MB / 0.8033 GB, free: 44.3 MB / 0.6198 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.623738660942763]