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.823/0.823, allocations: 120.4 MB / 139.5 MB, free: 492 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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.603e-06/1.603e-06, allocations: 0 / 217.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.088e-05, allocations: 2.281 kB / 217.2 MB, free: 13.73 MB / 206.1 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.456/1.456, allocations: 254.3 MB / 471.6 MB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4219/1.878, allocations: 167.1 MB / 0.6237 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/1.878, allocations: 15.94 kB / 0.6238 GB, free: 2.332 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65: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:47:3-48:67: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:34:3-35:67: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:36:3-37:65: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.0001724/1.878, allocations: 40.38 kB / 0.6238 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004428/1.879, allocations: 122.9 kB / 0.6239 GB, free: 2.172 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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:63:5-63:84: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.03355/1.912, allocations: 12.39 MB / 0.636 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006528/1.913, allocations: 426.5 kB / 0.6364 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/1.913, allocations: 169 kB / 0.6366 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/1.914, allocations: 263.4 kB / 0.6368 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/1.914, allocations: 123.7 kB / 0.6369 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.714e-05/1.914, allocations: 36 kB / 0.637 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03899/1.953, allocations: 19.66 MB / 0.6562 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/1.953, allocations: 91.67 kB / 0.6563 GB, free: 1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002744/1.954, allocations: 139.7 kB / 0.6564 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02795/1.982, allocations: 13.02 MB / 0.6691 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/1.982, allocations: 4.656 kB / 0.6691 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/1.982, allocations: 0 / 0.6691 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.982, allocations: 0 / 0.6691 GB, free: 3.801 MB / 0.6075 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.005091/1.987, allocations: 1.899 MB / 0.671 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.987, allocations: 8.031 kB / 0.671 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/1.987, allocations: 47.72 kB / 0.671 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/1.987, allocations: 256 kB / 0.6713 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/1.987, allocations: 29.66 kB / 0.6713 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/1.987, allocations: 31.94 kB / 0.6713 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/1.988, allocations: 408.3 kB / 0.6717 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.988, allocations: 4 kB / 0.6717 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/1.988, allocations: 11.98 kB / 0.6717 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/1.988, allocations: 13.31 kB / 0.6718 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/1.989, allocations: 250.4 kB / 0.672 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007628/1.996, allocations: 3.186 MB / 0.6751 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/1.996, allocations: 79.41 kB / 0.6752 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/1.997, allocations: 24.89 kB / 0.6752 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4528/2.449, allocations: 88.69 MB / 0.7618 GB, free: 255.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/2.449, allocations: 30.56 kB / 0.7618 GB, free: 255.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/2.449, allocations: 0.875 kB / 0.7618 GB, free: 255.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006757/2.45, allocations: 188.1 kB / 0.762 GB, free: 255.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/2.45, allocations: 77.11 kB / 0.7621 GB, free: 255.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/2.45, allocations: 313.1 kB / 0.7624 GB, free: 255.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/2.45, allocations: 29.7 kB / 0.7624 GB, free: 255.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/2.45, allocations: 242.6 kB / 0.7627 GB, free: 254.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/2.45, allocations: 32.22 kB / 0.7627 GB, free: 254.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/2.45, allocations: 66.69 kB / 0.7627 GB, free: 254.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.13e-05/2.451, allocations: 333.4 kB / 0.7631 GB, free: 254.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/2.451, allocations: 48.45 kB / 0.7631 GB, free: 254.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/2.451, allocations: 183.5 kB / 0.7633 GB, free: 254.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/2.451, allocations: 203.1 kB / 0.7635 GB, free: 253.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.451, allocations: 5.031 kB / 0.7635 GB, free: 253.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000451/2.451, allocations: 277.7 kB / 0.7637 GB, free: 253.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/2.451, allocations: 5.719 kB / 0.7638 GB, free: 253.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/2.451, allocations: 4 kB / 0.7638 GB, free: 253.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009309/2.452, allocations: 118.2 kB / 0.7639 GB, free: 253.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/2.453, allocations: 47.91 kB / 0.7639 GB, free: 253.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003312/2.453, allocations: 0.561 MB / 0.7645 GB, free: 252.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/2.453, allocations: 32.38 kB / 0.7645 GB, free: 252.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/2.453, allocations: 20.92 kB / 0.7645 GB, free: 252.8 MB / 0.6544 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.0001284/2.453, allocations: 162.5 kB / 0.7647 GB, free: 252.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/2.453, allocations: 28.58 kB / 0.7647 GB, free: 252.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/2.454, allocations: 170.4 kB / 0.7649 GB, free: 252.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/2.454, allocations: 5.734 kB / 0.7649 GB, free: 252.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/2.454, allocations: 0.9375 kB / 0.7649 GB, free: 252.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/2.454, allocations: 0 / 0.7649 GB, free: 252.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/2.454, allocations: 219.1 kB / 0.7651 GB, free: 252.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/2.454, allocations: 0.5469 kB / 0.7651 GB, free: 252.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/2.454, allocations: 11.98 kB / 0.7651 GB, free: 252.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/2.454, allocations: 74.38 kB / 0.7652 GB, free: 252.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/2.454, allocations: 5.312 kB / 0.7652 GB, free: 252.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002696/2.455, allocations: 0.5679 MB / 0.7657 GB, free: 251.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/2.455, allocations: 0.875 kB / 0.7657 GB, free: 251.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/2.455, allocations: 172.2 kB / 0.7659 GB, free: 251.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/2.455, allocations: 46.06 kB / 0.7659 GB, free: 251.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/2.455, allocations: 1.641 kB / 0.7659 GB, free: 251.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/2.455, allocations: 7.984 kB / 0.7659 GB, free: 251.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/2.455, allocations: 3.938 kB / 0.7659 GB, free: 251.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/2.455, allocations: 8.703 kB / 0.7659 GB, free: 251.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001584/2.456, allocations: 215 kB / 0.7662 GB, free: 251.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/2.456, allocations: 0.5625 kB / 0.7662 GB, free: 251.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002974/2.459, allocations: 1.63 MB / 0.7677 GB, free: 249.7 MB / 0.6544 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.006397/2.465, allocations: 2.702 MB / 0.7704 GB, free: 247.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003876/2.465, allocations: 124.6 kB / 0.7705 GB, free: 247.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.465, allocations: 0.7656 kB / 0.7705 GB, free: 247.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/2.465, allocations: 45.86 kB / 0.7705 GB, free: 247.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/2.466, allocations: 72.08 kB / 0.7706 GB, free: 247.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/2.467, allocations: 496 kB / 0.7711 GB, free: 246.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/2.467, allocations: 180.7 kB / 0.7713 GB, free: 246.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001347/2.467, allocations: 38.5 kB / 0.7713 GB, free: 246.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/2.467, allocations: 26.06 kB / 0.7713 GB, free: 246.5 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/2.467, allocations: 4 kB / 0.7713 GB, free: 246.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.05075/2.518, allocations: 48.76 MB / 0.8189 GB, free: 198 MB / 0.6544 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.690348472446203] Failed to read output from testmodel.py, exit status != 0: 2.6491187289357185 2.659752226 0.675616856 Calling exit ...