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.5136/0.5136, allocations: 111.6 MB / 131.7 MB, free: 5.047 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.863e-06/1.863e-06, allocations: 0 / 176.5 MB, free: 9.465 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.314e-05, allocations: 2.312 kB / 176.5 MB, free: 9.461 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.06/1.06, allocations: 257 MB / 433.4 MB, free: 48 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3429/1.403, allocations: 183.8 MB / 0.6027 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/1.403, allocations: 15.81 kB / 0.6027 GB, free: 7.676 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.000106/1.404, allocations: 43.58 kB / 0.6028 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002678/1.404, allocations: 122.8 kB / 0.6029 GB, free: 7.512 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.02207/1.426, allocations: 12.4 MB / 0.615 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003932/1.426, allocations: 422.5 kB / 0.6154 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/1.427, allocations: 181.1 kB / 0.6156 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/1.427, allocations: 259.4 kB / 0.6158 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/1.427, allocations: 131.6 kB / 0.616 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/1.427, allocations: 36 kB / 0.616 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02376/1.451, allocations: 19.65 MB / 0.6352 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/1.451, allocations: 87.67 kB / 0.6353 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/1.451, allocations: 135.7 kB / 0.6354 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01826/1.469, allocations: 12.9 MB / 0.648 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/1.469, allocations: 0 / 0.648 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/1.469, allocations: 0 / 0.648 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.469, allocations: 0 / 0.648 GB, free: 9.223 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.003287/1.473, allocations: 1.995 MB / 0.65 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.473, allocations: 11.98 kB / 0.65 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/1.473, allocations: 75.72 kB / 0.65 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/1.473, allocations: 275.3 kB / 0.6503 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/1.473, allocations: 32.98 kB / 0.6503 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/1.473, allocations: 35.94 kB / 0.6504 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/1.474, allocations: 375.7 kB / 0.6507 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.474, allocations: 0 / 0.6507 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.474, allocations: 16 kB / 0.6507 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.474, allocations: 8 kB / 0.6508 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/1.474, allocations: 155.7 kB / 0.6509 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/1.478, allocations: 3.492 MB / 0.6543 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/1.478, allocations: 59.06 kB / 0.6544 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/1.478, allocations: 23.62 kB / 0.6544 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2878/1.766, allocations: 89.03 MB / 0.7413 GB, free: 280.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/1.766, allocations: 37.39 kB / 0.7414 GB, free: 280.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/1.766, allocations: 0 / 0.7414 GB, free: 280.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005276/1.766, allocations: 152.5 kB / 0.7415 GB, free: 280.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/1.766, allocations: 85.11 kB / 0.7416 GB, free: 280.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/1.767, allocations: 342.1 kB / 0.7419 GB, free: 279.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/1.767, allocations: 29.7 kB / 0.7419 GB, free: 279.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/1.767, allocations: 291.6 kB / 0.7422 GB, free: 279.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/1.767, allocations: 30.7 kB / 0.7423 GB, free: 279.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/1.767, allocations: 75.48 kB / 0.7423 GB, free: 279.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/1.767, allocations: 0.5001 MB / 0.7428 GB, free: 278.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/1.767, allocations: 24.45 kB / 0.7428 GB, free: 278.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/1.767, allocations: 211.6 kB / 0.743 GB, free: 278.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/1.767, allocations: 225.8 kB / 0.7433 GB, free: 278.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.767, allocations: 0.5469 kB / 0.7433 GB, free: 278.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000281/1.767, allocations: 248.7 kB / 0.7435 GB, free: 278 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.767, allocations: 7.938 kB / 0.7435 GB, free: 278 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.767, allocations: 4 kB / 0.7435 GB, free: 278 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/1.768, allocations: 89.22 kB / 0.7436 GB, free: 277.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/1.768, allocations: 45.42 kB / 0.7436 GB, free: 277.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002272/1.768, allocations: 0.8272 MB / 0.7444 GB, free: 277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.991e-05/1.768, allocations: 30.94 kB / 0.7445 GB, free: 277 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/1.768, allocations: 12 kB / 0.7445 GB, free: 277 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 7.644e-05/1.768, allocations: 170.6 kB / 0.7446 GB, free: 276.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/1.768, allocations: 27.8 kB / 0.7447 GB, free: 276.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/1.769, allocations: 168.3 kB / 0.7448 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.769, allocations: 0.8438 kB / 0.7448 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.769, allocations: 0 / 0.7448 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.769, allocations: 4 kB / 0.7448 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/1.769, allocations: 233.8 kB / 0.7451 GB, free: 276.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.769, allocations: 0 / 0.7451 GB, free: 276.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/1.769, allocations: 4.766 kB / 0.7451 GB, free: 276.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/1.769, allocations: 69.09 kB / 0.7451 GB, free: 276.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/1.769, allocations: 8 kB / 0.7451 GB, free: 276.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000178/1.769, allocations: 0.8242 MB / 0.7459 GB, free: 275.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.769, allocations: 0 / 0.7459 GB, free: 275.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/1.769, allocations: 160.6 kB / 0.7461 GB, free: 275.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/1.77, allocations: 46.34 kB / 0.7461 GB, free: 275.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/1.77, allocations: 0 / 0.7461 GB, free: 275.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/1.77, allocations: 4 kB / 0.7461 GB, free: 275.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/1.77, allocations: 11.92 kB / 0.7462 GB, free: 275.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/1.77, allocations: 4 kB / 0.7462 GB, free: 275.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.138e-05/1.77, allocations: 227 kB / 0.7464 GB, free: 275 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/1.77, allocations: 1.312 kB / 0.7464 GB, free: 275 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002352/1.772, allocations: 1.638 MB / 0.748 GB, free: 273.6 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.003834/1.776, allocations: 2.699 MB / 0.7506 GB, free: 271.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002485/1.776, allocations: 112.1 kB / 0.7507 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.776, allocations: 4.312 kB / 0.7507 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.113e-05/1.776, allocations: 43.56 kB / 0.7508 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.776, allocations: 64.06 kB / 0.7508 GB, free: 271 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/1.777, allocations: 0.4996 MB / 0.7513 GB, free: 270.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/1.777, allocations: 91.56 kB / 0.7514 GB, free: 270.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.173e-05/1.777, allocations: 40 kB / 0.7514 GB, free: 270.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/1.777, allocations: 24.5 kB / 0.7515 GB, free: 270.3 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/1.777, allocations: 4 kB / 0.7515 GB, free: 270.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.03395/1.811, allocations: 49.81 MB / 0.8001 GB, free: 220.7 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.577362345997244]