Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.5141/0.5141, allocations: 111.6 MB / 131.7 MB, free: 5.066 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.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 176.5 MB, free: 9.422 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.228e-05, allocations: 5.047 kB / 176.5 MB, free: 9.418 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.SimpleExamples.TestDiaphragm): time 1.041/1.042, allocations: 257 MB / 433.6 MB, free: 364 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3616/1.403, allocations: 183.8 MB / 0.6029 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/1.403, allocations: 7.938 kB / 0.6029 GB, free: 14.74 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.0001385/1.404, allocations: 47.52 kB / 0.6029 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003568/1.404, allocations: 130.8 kB / 0.603 GB, free: 14.57 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.02415/1.428, allocations: 12.39 MB / 0.6151 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004701/1.429, allocations: 422.5 kB / 0.6155 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/1.429, allocations: 185 kB / 0.6157 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/1.429, allocations: 255.4 kB / 0.616 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/1.429, allocations: 139.6 kB / 0.6161 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/1.429, allocations: 32 kB / 0.6161 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02581/1.455, allocations: 19.65 MB / 0.6353 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/1.455, allocations: 91.67 kB / 0.6354 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/1.455, allocations: 135.7 kB / 0.6355 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02083/1.476, allocations: 12.9 MB / 0.6481 GB, free: 292 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/1.476, allocations: 4 kB / 0.6481 GB, free: 288 kB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/1.476, allocations: 4 kB / 0.6481 GB, free: 284 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.476, allocations: 0 / 0.6481 GB, free: 284 kB / 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.004249/1.48, allocations: 1.991 MB / 0.6501 GB, free: 14.23 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.48, allocations: 11.98 kB / 0.6501 GB, free: 14.22 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/1.481, allocations: 79.7 kB / 0.6502 GB, free: 14.14 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/1.481, allocations: 271.4 kB / 0.6504 GB, free: 13.85 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/1.481, allocations: 29 kB / 0.6505 GB, free: 13.82 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/1.481, allocations: 35.94 kB / 0.6505 GB, free: 13.79 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/1.481, allocations: 371.7 kB / 0.6508 GB, free: 13.38 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.481, allocations: 0 / 0.6508 GB, free: 13.38 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/1.481, allocations: 16 kB / 0.6509 GB, free: 13.36 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/1.481, allocations: 12 kB / 0.6509 GB, free: 13.35 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/1.482, allocations: 147.8 kB / 0.651 GB, free: 13.2 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/1.486, allocations: 3.499 MB / 0.6544 GB, free: 9.637 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/1.486, allocations: 67.02 kB / 0.6545 GB, free: 9.559 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/1.486, allocations: 23.66 kB / 0.6545 GB, free: 9.531 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2835/1.769, allocations: 89.02 MB / 0.7415 GB, free: 272.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.769, allocations: 34.45 kB / 0.7415 GB, free: 272.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/1.769, allocations: 0 / 0.7415 GB, free: 272.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005417/1.77, allocations: 157.6 kB / 0.7416 GB, free: 272.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/1.77, allocations: 83.64 kB / 0.7417 GB, free: 272 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/1.77, allocations: 349.8 kB / 0.742 GB, free: 271.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/1.77, allocations: 29.7 kB / 0.7421 GB, free: 271.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/1.77, allocations: 285.1 kB / 0.7423 GB, free: 271.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/1.77, allocations: 31.56 kB / 0.7424 GB, free: 271.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/1.77, allocations: 75.48 kB / 0.7425 GB, free: 271.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.846e-05/1.77, allocations: 0.4962 MB / 0.7429 GB, free: 270.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/1.77, allocations: 28.45 kB / 0.743 GB, free: 270.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/1.77, allocations: 214 kB / 0.7432 GB, free: 270.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/1.771, allocations: 221.2 kB / 0.7434 GB, free: 270.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.771, allocations: 4 kB / 0.7434 GB, free: 270.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002827/1.771, allocations: 246.8 kB / 0.7436 GB, free: 269.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.771, allocations: 4.984 kB / 0.7436 GB, free: 269.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.771, allocations: 4 kB / 0.7436 GB, free: 269.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004606/1.771, allocations: 89.92 kB / 0.7437 GB, free: 269.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.771, allocations: 52.48 kB / 0.7438 GB, free: 269.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002449/1.772, allocations: 0.8195 MB / 0.7446 GB, free: 268.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/1.772, allocations: 30.64 kB / 0.7446 GB, free: 268.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.772, allocations: 16 kB / 0.7446 GB, free: 268.8 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 8.404e-05/1.772, allocations: 170.8 kB / 0.7448 GB, free: 268.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/1.772, allocations: 31.8 kB / 0.7448 GB, free: 268.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/1.772, allocations: 164.8 kB / 0.745 GB, free: 268.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/1.772, allocations: 4 kB / 0.745 GB, free: 268.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/1.772, allocations: 0 / 0.745 GB, free: 268.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.772, allocations: 0 / 0.745 GB, free: 268.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/1.772, allocations: 228.3 kB / 0.7452 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.772, allocations: 8.453 kB / 0.7452 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/1.772, allocations: 11.98 kB / 0.7452 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/1.773, allocations: 56.33 kB / 0.7453 GB, free: 268.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.773, allocations: 4 kB / 0.7453 GB, free: 268.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001775/1.773, allocations: 0.8203 MB / 0.7461 GB, free: 267.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.773, allocations: 4 kB / 0.7461 GB, free: 267.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/1.773, allocations: 164.5 kB / 0.7462 GB, free: 267.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/1.773, allocations: 48.02 kB / 0.7463 GB, free: 267.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.773, allocations: 0 / 0.7463 GB, free: 267.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/1.773, allocations: 4 kB / 0.7463 GB, free: 267 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/1.773, allocations: 11.3 kB / 0.7463 GB, free: 267 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/1.773, allocations: 7.938 kB / 0.7463 GB, free: 267 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.426e-05/1.773, allocations: 226.9 kB / 0.7465 GB, free: 266.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/1.773, allocations: 0 / 0.7465 GB, free: 266.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002508/1.776, allocations: 1.644 MB / 0.7481 GB, free: 265.4 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.00403/1.78, allocations: 2.692 MB / 0.7507 GB, free: 263 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000264/1.78, allocations: 107.5 kB / 0.7508 GB, free: 262.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.78, allocations: 0.9375 kB / 0.7508 GB, free: 262.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/1.78, allocations: 51.59 kB / 0.7509 GB, free: 262.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/1.78, allocations: 59.61 kB / 0.7509 GB, free: 262.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/1.781, allocations: 0.4904 MB / 0.7514 GB, free: 262.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.334e-05/1.781, allocations: 95.39 kB / 0.7515 GB, free: 262.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.985e-05/1.781, allocations: 44.56 kB / 0.7516 GB, free: 262.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/1.781, allocations: 24.5 kB / 0.7516 GB, free: 262.1 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/1.781, allocations: 0 / 0.7516 GB, free: 262.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.03369/1.815, allocations: 49.8 MB / 0.8002 GB, free: 212.5 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6205232630018145]