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.522/0.522, allocations: 111.6 MB / 131.2 MB, free: 4.566 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 3.236e-06/3.236e-06, allocations: 0 / 176.2 MB, free: 9.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.22e-05, allocations: 4.562 kB / 176.2 MB, free: 9.152 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.025/1.025, allocations: 257.1 MB / 433.3 MB, free: 320 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.321/1.346, allocations: 184.2 MB / 0.603 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/1.346, allocations: 11.94 kB / 0.603 GB, free: 14.27 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 9.871e-05/1.346, allocations: 43.52 kB / 0.603 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/1.346, allocations: 118.9 kB / 0.6032 GB, free: 14.11 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.0219/1.368, allocations: 12.41 MB / 0.6153 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/1.368, allocations: 422.6 kB / 0.6157 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/1.369, allocations: 181.1 kB / 0.6159 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/1.369, allocations: 267.4 kB / 0.6161 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/1.369, allocations: 127.6 kB / 0.6162 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/1.369, allocations: 32 kB / 0.6163 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0225/1.391, allocations: 19.67 MB / 0.6355 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.12e-05/1.392, allocations: 91.67 kB / 0.6356 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.692e-05/1.392, allocations: 135.6 kB / 0.6357 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/1.406, allocations: 12.89 MB / 0.6483 GB, free: 15.81 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.406, allocations: 4 kB / 0.6483 GB, free: 15.8 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.353e-06/1.406, allocations: 4 kB / 0.6483 GB, free: 15.8 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.406, allocations: 0 / 0.6483 GB, free: 15.8 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.003372/1.41, allocations: 1.999 MB / 0.6502 GB, free: 13.75 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.41, allocations: 11.98 kB / 0.6502 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.519e-05/1.41, allocations: 80.41 kB / 0.6503 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/1.41, allocations: 270.7 kB / 0.6506 GB, free: 13.37 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/1.41, allocations: 29 kB / 0.6506 GB, free: 13.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/1.41, allocations: 35.94 kB / 0.6506 GB, free: 13.31 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/1.411, allocations: 375.7 kB / 0.651 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.411, allocations: 4 kB / 0.651 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/1.411, allocations: 16 kB / 0.651 GB, free: 12.87 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/1.411, allocations: 8 kB / 0.651 GB, free: 12.86 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/1.411, allocations: 151.7 kB / 0.6512 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/1.415, allocations: 3.476 MB / 0.6546 GB, free: 9.172 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/1.415, allocations: 71.06 kB / 0.6546 GB, free: 9.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/1.415, allocations: 24.19 kB / 0.6547 GB, free: 9.062 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3576/1.772, allocations: 89.06 MB / 0.7416 GB, free: 91.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.773, allocations: 37.14 kB / 0.7417 GB, free: 91.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/1.773, allocations: 0 / 0.7417 GB, free: 91.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005932/1.773, allocations: 158.6 kB / 0.7418 GB, free: 91.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/1.773, allocations: 80.23 kB / 0.7419 GB, free: 91.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/1.773, allocations: 349.4 kB / 0.7422 GB, free: 90.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/1.773, allocations: 25.7 kB / 0.7422 GB, free: 90.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/1.774, allocations: 292.6 kB / 0.7425 GB, free: 90.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/1.774, allocations: 27.14 kB / 0.7426 GB, free: 90.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/1.774, allocations: 76.97 kB / 0.7426 GB, free: 90.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/1.774, allocations: 0.4969 MB / 0.7431 GB, free: 90.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/1.774, allocations: 27.09 kB / 0.7431 GB, free: 90.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.803e-05/1.774, allocations: 214.3 kB / 0.7433 GB, free: 89.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/1.774, allocations: 220.8 kB / 0.7436 GB, free: 89.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.774, allocations: 4.938 kB / 0.7436 GB, free: 89.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002963/1.774, allocations: 248 kB / 0.7438 GB, free: 89.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.774, allocations: 7.656 kB / 0.7438 GB, free: 89.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.774, allocations: 10.62 kB / 0.7438 GB, free: 89.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/1.775, allocations: 70.28 kB / 0.7439 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.775, allocations: 42.72 kB / 0.7439 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000267/1.775, allocations: 0.8211 MB / 0.7447 GB, free: 88.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/1.775, allocations: 31.88 kB / 0.7448 GB, free: 88.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/1.775, allocations: 17.91 kB / 0.7448 GB, free: 88.85 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.861e-05/1.775, allocations: 177.4 kB / 0.7449 GB, free: 88.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/1.775, allocations: 27.8 kB / 0.745 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/1.776, allocations: 157.4 kB / 0.7451 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.776, allocations: 4.031 kB / 0.7451 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.776, allocations: 1.312 kB / 0.7451 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.776, allocations: 2.812 kB / 0.7451 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/1.776, allocations: 229.6 kB / 0.7453 GB, free: 88.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.776, allocations: 0 / 0.7453 GB, free: 88.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/1.776, allocations: 17.55 kB / 0.7454 GB, free: 88.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/1.776, allocations: 59.92 kB / 0.7454 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/1.776, allocations: 3.875 kB / 0.7454 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000189/1.776, allocations: 0.811 MB / 0.7462 GB, free: 87.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.776, allocations: 3.469 kB / 0.7462 GB, free: 87.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/1.776, allocations: 168.5 kB / 0.7464 GB, free: 87.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/1.777, allocations: 40.44 kB / 0.7464 GB, free: 87.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/1.777, allocations: 3.312 kB / 0.7464 GB, free: 87.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/1.777, allocations: 1.203 kB / 0.7464 GB, free: 87.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/1.777, allocations: 9.969 kB / 0.7464 GB, free: 87.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/1.777, allocations: 5.281 kB / 0.7464 GB, free: 87.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001078/1.777, allocations: 223.6 kB / 0.7466 GB, free: 87.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.777, allocations: 1.844 kB / 0.7466 GB, free: 87.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002772/1.78, allocations: 1.637 MB / 0.7482 GB, free: 87.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.004466/1.784, allocations: 2.699 MB / 0.7509 GB, free: 87.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002613/1.784, allocations: 111 kB / 0.751 GB, free: 87.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.784, allocations: 0 / 0.751 GB, free: 87.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/1.784, allocations: 40 kB / 0.751 GB, free: 87.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/1.785, allocations: 80.81 kB / 0.7511 GB, free: 87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000866/1.785, allocations: 0.496 MB / 0.7516 GB, free: 86.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/1.785, allocations: 89.03 kB / 0.7517 GB, free: 86.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.493e-05/1.786, allocations: 42.05 kB / 0.7517 GB, free: 86.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/1.786, allocations: 25.97 kB / 0.7517 GB, free: 86.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/1.786, allocations: 0 / 0.7517 GB, free: 86.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.04494/1.83, allocations: 62.28 MB / 0.8126 GB, free: 34.16 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: 6.123874879907817]