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.4934/0.4934, allocations: 111.6 MB / 131.5 MB, free: 4.906 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.944e-06/1.944e-06, allocations: 0 / 176.6 MB, free: 8.914 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.278e-05, allocations: 2.312 kB / 176.6 MB, free: 8.91 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.002/1.002, allocations: 262.9 MB / 439.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3354/1.337, allocations: 183.5 MB / 0.6084 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/1.337, allocations: 11.94 kB / 0.6084 GB, free: 12.63 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.0001027/1.337, allocations: 39.59 kB / 0.6085 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/1.338, allocations: 130.8 kB / 0.6086 GB, free: 12.46 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.0205/1.358, allocations: 12.52 MB / 0.6208 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0003705/1.359, allocations: 422.5 kB / 0.6212 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/1.359, allocations: 183.7 kB / 0.6214 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/1.359, allocations: 275.3 kB / 0.6216 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/1.359, allocations: 123.6 kB / 0.6218 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/1.359, allocations: 32 kB / 0.6218 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02147/1.381, allocations: 19.64 MB / 0.641 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/1.381, allocations: 95.66 kB / 0.6411 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.765e-05/1.381, allocations: 127.7 kB / 0.6412 GB, free: 11 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0137/1.394, allocations: 12.9 MB / 0.6538 GB, free: 14.06 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.394, allocations: 0 / 0.6538 GB, free: 14.06 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.163e-06/1.394, allocations: 3.938 kB / 0.6538 GB, free: 14.06 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.395, allocations: 3.984 kB / 0.6538 GB, free: 14.05 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.002254/1.397, allocations: 1.87 MB / 0.6556 GB, free: 12.15 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/1.397, allocations: 11.98 kB / 0.6556 GB, free: 12.14 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/1.397, allocations: 55.95 kB / 0.6557 GB, free: 12.08 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/1.397, allocations: 240 kB / 0.6559 GB, free: 11.82 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/1.397, allocations: 29.56 kB / 0.6559 GB, free: 11.79 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/1.397, allocations: 35.94 kB / 0.656 GB, free: 11.76 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/1.397, allocations: 336.9 kB / 0.6563 GB, free: 11.39 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.397, allocations: 11.92 kB / 0.6563 GB, free: 11.38 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/1.397, allocations: 16 kB / 0.6563 GB, free: 11.36 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/1.397, allocations: 8 kB / 0.6563 GB, free: 11.35 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/1.398, allocations: 111.1 kB / 0.6564 GB, free: 11.25 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/1.402, allocations: 3.447 MB / 0.6598 GB, free: 7.758 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/1.402, allocations: 38.56 kB / 0.6598 GB, free: 7.711 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/1.402, allocations: 12.8 kB / 0.6599 GB, free: 7.695 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3572/1.759, allocations: 80.14 MB / 0.7381 GB, free: 90.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.759, allocations: 37.97 kB / 0.7382 GB, free: 90.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/1.759, allocations: 4 kB / 0.7382 GB, free: 90.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004388/1.759, allocations: 114.4 kB / 0.7383 GB, free: 90.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/1.759, allocations: 78.61 kB / 0.7383 GB, free: 90.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/1.76, allocations: 294.6 kB / 0.7386 GB, free: 90.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/1.76, allocations: 25.7 kB / 0.7386 GB, free: 90.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/1.76, allocations: 228.7 kB / 0.7389 GB, free: 90.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/1.76, allocations: 34.2 kB / 0.7389 GB, free: 90.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/1.76, allocations: 67.03 kB / 0.739 GB, free: 90.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.762e-05/1.76, allocations: 333.4 kB / 0.7393 GB, free: 89.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/1.76, allocations: 18.39 kB / 0.7393 GB, free: 89.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-05/1.76, allocations: 155.9 kB / 0.7394 GB, free: 89.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/1.76, allocations: 166.9 kB / 0.7396 GB, free: 89.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.76, allocations: 0 / 0.7396 GB, free: 89.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002397/1.76, allocations: 182.9 kB / 0.7398 GB, free: 89.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.76, allocations: 13.11 kB / 0.7398 GB, free: 89.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.76, allocations: 3.688 kB / 0.7398 GB, free: 89.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/1.761, allocations: 68.62 kB / 0.7399 GB, free: 89.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/1.761, allocations: 43.44 kB / 0.7399 GB, free: 89.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002174/1.761, allocations: 0.5405 MB / 0.7404 GB, free: 88.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/1.761, allocations: 32.39 kB / 0.7405 GB, free: 88.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/1.761, allocations: 9.469 kB / 0.7405 GB, free: 88.84 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 (Diaphragm.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,SourceP1.C.ftype,Diaphragm.fluid,PuitsP1.fluid) * 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 9.279e-05/1.761, allocations: 135.5 kB / 0.7406 GB, free: 88.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/1.761, allocations: 15.73 kB / 0.7406 GB, free: 88.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/1.762, allocations: 137 kB / 0.7407 GB, free: 88.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.762, allocations: 1.094 kB / 0.7407 GB, free: 88.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.762, allocations: 5.125 kB / 0.7407 GB, free: 88.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.762, allocations: 1.547 kB / 0.7408 GB, free: 88.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/1.762, allocations: 142.7 kB / 0.7409 GB, free: 88.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.762, allocations: 0 / 0.7409 GB, free: 88.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/1.762, allocations: 4.938 kB / 0.7409 GB, free: 88.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/1.762, allocations: 59.52 kB / 0.7409 GB, free: 88.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/1.762, allocations: 5.75 kB / 0.741 GB, free: 88.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001573/1.762, allocations: 0.5354 MB / 0.7415 GB, free: 88.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.762, allocations: 0 / 0.7415 GB, free: 88.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/1.762, allocations: 126.1 kB / 0.7416 GB, free: 87.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/1.762, allocations: 40.03 kB / 0.7416 GB, free: 87.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/1.762, allocations: 7.531 kB / 0.7416 GB, free: 87.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/1.762, allocations: 7.062 kB / 0.7416 GB, free: 87.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/1.762, allocations: 7.516 kB / 0.7417 GB, free: 87.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/1.762, allocations: 2.125 kB / 0.7417 GB, free: 87.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.464e-05/1.762, allocations: 94.23 kB / 0.7417 GB, free: 87.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/1.762, allocations: 0 / 0.7417 GB, free: 87.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003004/1.766, allocations: 1.636 MB / 0.7433 GB, free: 87.95 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.004668/1.77, allocations: 2.859 MB / 0.7461 GB, free: 87.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002748/1.77, allocations: 109.5 kB / 0.7462 GB, free: 87.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.77, allocations: 3.594 kB / 0.7462 GB, free: 87.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/1.771, allocations: 32.58 kB / 0.7463 GB, free: 87.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/1.771, allocations: 78.73 kB / 0.7464 GB, free: 87.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008284/1.772, allocations: 0.4984 MB / 0.7468 GB, free: 87.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/1.772, allocations: 89.33 kB / 0.7469 GB, free: 87.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.855e-05/1.772, allocations: 44.58 kB / 0.747 GB, free: 87.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/1.772, allocations: 96.39 kB / 0.7471 GB, free: 87.15 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/1.772, allocations: 5.656 kB / 0.7471 GB, free: 87.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.04953/1.821, allocations: 57.69 MB / 0.8034 GB, free: 43.97 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.053700725082308]