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.7992/0.7992, allocations: 111.6 MB / 131 MB, free: 5.09 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 2.204e-06/2.204e-06, allocations: 0 / 175.7 MB, free: 9.445 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.529e-05, allocations: 2.312 kB / 175.7 MB, free: 9.441 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.671/1.671, allocations: 254.8 MB / 430.5 MB, free: 412 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4222/2.093, allocations: 183.7 MB / 0.5998 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/2.094, allocations: 7.938 kB / 0.5999 GB, free: 8.309 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.0001512/2.094, allocations: 39.58 kB / 0.5999 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003548/2.094, allocations: 126.9 kB / 0.6 GB, free: 8.145 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.03245/2.127, allocations: 12.39 MB / 0.6121 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000638/2.127, allocations: 418.6 kB / 0.6125 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/2.128, allocations: 181 kB / 0.6127 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/2.128, allocations: 267.4 kB / 0.6129 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/2.128, allocations: 123.6 kB / 0.6131 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/2.128, allocations: 36 kB / 0.6131 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03794/2.166, allocations: 19.65 MB / 0.6323 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/2.166, allocations: 95.67 kB / 0.6324 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/2.167, allocations: 135.7 kB / 0.6325 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02707/2.194, allocations: 13.04 MB / 0.6452 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/2.194, allocations: 0 / 0.6452 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.263e-06/2.194, allocations: 3.938 kB / 0.6452 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.314e-06/2.194, allocations: 0 / 0.6452 GB, free: 9.727 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.004671/2.198, allocations: 2.026 MB / 0.6472 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/2.198, allocations: 11.98 kB / 0.6472 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/2.199, allocations: 75.72 kB / 0.6473 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/2.199, allocations: 275.3 kB / 0.6476 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/2.199, allocations: 25 kB / 0.6476 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/2.199, allocations: 39.94 kB / 0.6476 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/2.2, allocations: 439 kB / 0.648 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/2.2, allocations: 0 / 0.648 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/2.2, allocations: 16 kB / 0.6481 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/2.2, allocations: 16 kB / 0.6481 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/2.2, allocations: 234.4 kB / 0.6483 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00837/2.209, allocations: 3.606 MB / 0.6518 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/2.209, allocations: 91.05 kB / 0.6519 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/2.209, allocations: 27.62 kB / 0.6519 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4552/2.664, allocations: 89.02 MB / 0.7389 GB, free: 280.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/2.664, allocations: 35.95 kB / 0.7389 GB, free: 280.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/2.664, allocations: 3.938 kB / 0.7389 GB, free: 280.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006823/2.665, allocations: 184.9 kB / 0.7391 GB, free: 280.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/2.665, allocations: 81.09 kB / 0.7392 GB, free: 280.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/2.665, allocations: 405.9 kB / 0.7395 GB, free: 280.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/2.665, allocations: 25.7 kB / 0.7396 GB, free: 280.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/2.665, allocations: 309.1 kB / 0.7399 GB, free: 279.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/2.665, allocations: 24.78 kB / 0.7399 GB, free: 279.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/2.666, allocations: 91.48 kB / 0.74 GB, free: 279.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.307e-05/2.666, allocations: 0.504 MB / 0.7405 GB, free: 279.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/2.666, allocations: 48.44 kB / 0.7405 GB, free: 279.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/2.666, allocations: 232.7 kB / 0.7407 GB, free: 278.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/2.666, allocations: 264.5 kB / 0.741 GB, free: 278.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/2.666, allocations: 0 / 0.741 GB, free: 278.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004202/2.666, allocations: 279.5 kB / 0.7413 GB, free: 278.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/2.666, allocations: 8 kB / 0.7413 GB, free: 278.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/2.666, allocations: 4 kB / 0.7413 GB, free: 278.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000772/2.667, allocations: 97.92 kB / 0.7414 GB, free: 278.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/2.667, allocations: 43.92 kB / 0.7414 GB, free: 278.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003287/2.668, allocations: 0.8389 MB / 0.7422 GB, free: 277.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/2.668, allocations: 30.94 kB / 0.7422 GB, free: 277.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/2.668, allocations: 12.98 kB / 0.7423 GB, free: 277.2 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.0001146/2.668, allocations: 194.8 kB / 0.7424 GB, free: 277 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/2.668, allocations: 39.78 kB / 0.7425 GB, free: 277 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/2.669, allocations: 170.4 kB / 0.7426 GB, free: 276.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/2.669, allocations: 4 kB / 0.7427 GB, free: 276.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/2.669, allocations: 7.922 kB / 0.7427 GB, free: 276.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/2.669, allocations: 0 / 0.7427 GB, free: 276.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/2.669, allocations: 280.5 kB / 0.7429 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/2.669, allocations: 4.516 kB / 0.7429 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/2.669, allocations: 4 kB / 0.7429 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/2.669, allocations: 69.39 kB / 0.743 GB, free: 276.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/2.669, allocations: 7.984 kB / 0.743 GB, free: 276.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003036/2.67, allocations: 0.8391 MB / 0.7438 GB, free: 275.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/2.67, allocations: 0 / 0.7438 GB, free: 275.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/2.67, allocations: 187.2 kB / 0.744 GB, free: 275.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/2.67, allocations: 41.94 kB / 0.744 GB, free: 275.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/2.67, allocations: 4 kB / 0.7441 GB, free: 275.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/2.67, allocations: 5.016 kB / 0.7441 GB, free: 275.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/2.67, allocations: 7.984 kB / 0.7441 GB, free: 275.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/2.67, allocations: 0 / 0.7441 GB, free: 275.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001633/2.67, allocations: 255 kB / 0.7443 GB, free: 275 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/2.67, allocations: 0 / 0.7443 GB, free: 275 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002991/2.673, allocations: 1.638 MB / 0.7459 GB, free: 273.7 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.005526/2.679, allocations: 2.704 MB / 0.7485 GB, free: 271.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004464/2.679, allocations: 139.9 kB / 0.7487 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/2.679, allocations: 4 kB / 0.7487 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/2.679, allocations: 47.61 kB / 0.7487 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.0003904/2.68, allocations: 72.02 kB / 0.7488 GB, free: 271 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/2.681, allocations: 0.5013 MB / 0.7493 GB, free: 270.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.317e-05/2.681, allocations: 172.1 kB / 0.7495 GB, free: 270.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000115/2.681, allocations: 39.81 kB / 0.7495 GB, free: 270.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/2.681, allocations: 28.5 kB / 0.7495 GB, free: 270.3 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/2.681, allocations: 0 / 0.7495 GB, free: 270.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.04951/2.73, allocations: 49.79 MB / 0.7981 GB, free: 220.6 MB / 0.6198 GB " [Timeout remaining time 657] 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: 8.930974586051889]