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.8107/0.8107, 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.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.114e-06/2.114e-06, allocations: 0 / 175.7 MB, free: 9.512 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.731e-05, allocations: 2.312 kB / 175.7 MB, free: 9.508 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.705/1.705, allocations: 254.7 MB / 430.4 MB, free: 464 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4408/2.145, allocations: 183.7 MB / 0.5997 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/2.146, allocations: 7.938 kB / 0.5997 GB, free: 8.406 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/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.0001425/2.146, allocations: 47.53 kB / 0.5998 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003735/2.146, allocations: 126.9 kB / 0.5999 GB, free: 8.234 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.03387/2.18, allocations: 12.39 MB / 0.612 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009697/2.181, allocations: 422.5 kB / 0.6124 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/2.181, allocations: 181 kB / 0.6126 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/2.182, allocations: 255.5 kB / 0.6128 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/2.182, allocations: 131.6 kB / 0.6129 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/2.182, allocations: 32 kB / 0.613 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04042/2.223, allocations: 19.66 MB / 0.6322 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/2.223, allocations: 91.61 kB / 0.6323 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000233/2.223, allocations: 131.7 kB / 0.6324 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.029/2.252, allocations: 13.04 MB / 0.6451 GB, free: 9.832 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/2.252, allocations: 7.938 kB / 0.6451 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.154e-06/2.252, allocations: 4 kB / 0.6451 GB, free: 9.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.528e-06/2.252, allocations: 0 / 0.6451 GB, free: 9.82 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00496/2.257, allocations: 2.03 MB / 0.6471 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/2.257, allocations: 11.98 kB / 0.6471 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/2.257, allocations: 75.72 kB / 0.6472 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/2.258, allocations: 270.8 kB / 0.6474 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/2.258, allocations: 25 kB / 0.6475 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/2.258, allocations: 35.94 kB / 0.6475 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/2.259, allocations: 443 kB / 0.6479 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/2.259, allocations: 0 / 0.6479 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/2.259, allocations: 16 kB / 0.6479 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/2.259, allocations: 12.56 kB / 0.648 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/2.259, allocations: 238.5 kB / 0.6482 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008404/2.268, allocations: 3.609 MB / 0.6517 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/2.268, allocations: 83.08 kB / 0.6518 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/2.268, allocations: 36.2 kB / 0.6518 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4578/2.726, allocations: 89.01 MB / 0.7387 GB, free: 281 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/2.726, allocations: 36.48 kB / 0.7388 GB, free: 280.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/2.726, allocations: 0 / 0.7388 GB, free: 280.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007268/2.726, allocations: 181.4 kB / 0.739 GB, free: 280.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/2.726, allocations: 81.11 kB / 0.739 GB, free: 280.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/2.727, allocations: 413 kB / 0.7394 GB, free: 280.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/2.727, allocations: 29.7 kB / 0.7395 GB, free: 280.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/2.727, allocations: 293.5 kB / 0.7397 GB, free: 280 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/2.727, allocations: 36.16 kB / 0.7398 GB, free: 279.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/2.727, allocations: 87.48 kB / 0.7399 GB, free: 279.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/2.727, allocations: 0.5086 MB / 0.7403 GB, free: 279.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/2.727, allocations: 44.44 kB / 0.7404 GB, free: 279.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/2.727, allocations: 235.6 kB / 0.7406 GB, free: 279 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/2.727, allocations: 257 kB / 0.7409 GB, free: 278.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/2.727, allocations: 4 kB / 0.7409 GB, free: 278.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004196/2.728, allocations: 283.5 kB / 0.7411 GB, free: 278.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/2.728, allocations: 8.547 kB / 0.7411 GB, free: 278.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/2.728, allocations: 0.8125 kB / 0.7411 GB, free: 278.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008053/2.729, allocations: 97.31 kB / 0.7412 GB, free: 278.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/2.729, allocations: 48.55 kB / 0.7413 GB, free: 278.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003523/2.729, allocations: 0.8389 MB / 0.7421 GB, free: 277.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/2.729, allocations: 27.84 kB / 0.7421 GB, free: 277.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/2.729, allocations: 16 kB / 0.7421 GB, free: 277.3 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 (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 0.0001162/2.73, allocations: 194.9 kB / 0.7423 GB, free: 277.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/2.73, allocations: 27.8 kB / 0.7424 GB, free: 277.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000535/2.73, allocations: 181.9 kB / 0.7425 GB, free: 276.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/2.73, allocations: 0.6562 kB / 0.7425 GB, free: 276.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/2.73, allocations: 5.141 kB / 0.7425 GB, free: 276.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/2.73, allocations: 0 / 0.7425 GB, free: 276.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/2.73, allocations: 277.4 kB / 0.7428 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/2.73, allocations: 7.984 kB / 0.7428 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/2.73, allocations: 8 kB / 0.7428 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/2.731, allocations: 75.39 kB / 0.7429 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/2.731, allocations: 0 / 0.7429 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000309/2.731, allocations: 0.8405 MB / 0.7437 GB, free: 275.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/2.731, allocations: 0 / 0.7437 GB, free: 275.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/2.732, allocations: 186.7 kB / 0.7439 GB, free: 275.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/2.732, allocations: 42.2 kB / 0.7439 GB, free: 275.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/2.732, allocations: 4 kB / 0.7439 GB, free: 275.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/2.732, allocations: 8.031 kB / 0.7439 GB, free: 275.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/2.732, allocations: 3.984 kB / 0.7439 GB, free: 275.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/2.732, allocations: 4 kB / 0.7439 GB, free: 275.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000164/2.732, allocations: 251.5 kB / 0.7442 GB, free: 275.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/2.732, allocations: 0 / 0.7442 GB, free: 275.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003209/2.735, allocations: 1.643 MB / 0.7458 GB, free: 273.8 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.006116/2.741, allocations: 2.702 MB / 0.7484 GB, free: 271.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004904/2.742, allocations: 146.2 kB / 0.7486 GB, free: 271.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.742, allocations: 0 / 0.7486 GB, free: 271.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/2.742, allocations: 51.59 kB / 0.7486 GB, free: 271.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/2.742, allocations: 76.97 kB / 0.7487 GB, free: 271.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/2.743, allocations: 0.4924 MB / 0.7492 GB, free: 270.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.876e-05/2.743, allocations: 172.1 kB / 0.7493 GB, free: 270.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001141/2.743, allocations: 39.86 kB / 0.7494 GB, free: 270.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/2.743, allocations: 28.5 kB / 0.7494 GB, free: 270.4 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/2.743, allocations: 0 / 0.7494 GB, free: 270.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.051/2.794, allocations: 49.8 MB / 0.798 GB, free: 220.8 MB / 0.6198 GB " [Timeout remaining time 657] 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: 9.14592956006527]