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 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8969/0.8969, allocations: 150.9 MB / 166.5 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 17.95 kB / 237.1 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07214/0.07252, allocations: 31.34 MB / 268.4 MB, free: 7.055 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.836/1.909, allocations: 294.8 MB / 0.55 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.8241/2.733, allocations: 190.1 MB / 0.7357 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003976/2.733, allocations: 7.625 kB / 0.7357 GB, free: 1.766 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59: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 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47: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 4.0.0-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 4.0.0-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.0001887/2.734, allocations: 39.03 kB / 0.7357 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005795/2.734, allocations: 115.9 kB / 0.7358 GB, free: 1.766 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.04297/2.777, allocations: 12.34 MB / 0.7479 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006197/2.778, allocations: 397.5 kB / 0.7483 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/2.778, allocations: 200.9 kB / 0.7485 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/2.779, allocations: 163.1 kB / 0.7486 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/2.779, allocations: 181.2 kB / 0.7488 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/2.779, allocations: 31.78 kB / 0.7488 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0433/2.822, allocations: 21.01 MB / 0.7693 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/2.823, allocations: 77.62 kB / 0.7694 GB, free: 368 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000331/2.823, allocations: 186.1 kB / 0.7696 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02951/2.852, allocations: 10.43 MB / 0.7798 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/2.852, allocations: 0 / 0.7798 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/2.852, allocations: 0.9375 kB / 0.7798 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.295e-05/2.852, allocations: 0 / 0.7798 GB, free: 12.83 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.006458/2.859, allocations: 1.868 MB / 0.7816 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/2.859, allocations: 10.84 kB / 0.7816 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/2.859, allocations: 40 kB / 0.7816 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/2.86, allocations: 309.4 kB / 0.7819 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/2.86, allocations: 25.56 kB / 0.782 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/2.86, allocations: 38.03 kB / 0.782 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/2.86, allocations: 379.5 kB / 0.7824 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/2.86, allocations: 0.9688 kB / 0.7824 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/2.86, allocations: 14.22 kB / 0.7824 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/2.86, allocations: 11.78 kB / 0.7824 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/2.861, allocations: 243.5 kB / 0.7826 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008704/2.87, allocations: 6.159 MB / 0.7886 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/2.87, allocations: 85.34 kB / 0.7887 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/2.87, allocations: 25 kB / 0.7887 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3248/3.195, allocations: 155.6 MB / 0.9407 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/3.195, allocations: 30.56 kB / 0.9408 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/3.195, allocations: 4 kB / 0.9408 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0008935/3.196, allocations: 255.2 kB / 0.941 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/3.196, allocations: 77.11 kB / 0.9411 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/3.196, allocations: 291.9 kB / 0.9414 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/3.196, allocations: 25.7 kB / 0.9414 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/3.196, allocations: 234.6 kB / 0.9416 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/3.196, allocations: 27.64 kB / 0.9416 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/3.196, allocations: 65.83 kB / 0.9417 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001397/3.197, allocations: 334.7 kB / 0.942 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/3.197, allocations: 48.44 kB / 0.9421 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/3.197, allocations: 165.5 kB / 0.9422 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/3.197, allocations: 206.7 kB / 0.9424 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/3.197, allocations: 0 / 0.9424 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006212/3.198, allocations: 278.8 kB / 0.9427 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/3.198, allocations: 4 kB / 0.9427 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/3.198, allocations: 5.016 kB / 0.9427 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009746/3.199, allocations: 110.6 kB / 0.9428 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/3.199, allocations: 50.27 kB / 0.9428 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005431/3.2, allocations: 0.564 MB / 0.9434 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/3.2, allocations: 35.58 kB / 0.9434 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/3.2, allocations: 16 kB / 0.9434 GB, free: 10.91 MB / 0.7794 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.0001886/3.2, allocations: 148.9 kB / 0.9436 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/3.2, allocations: 26.42 kB / 0.9436 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005752/3.201, allocations: 176.4 kB / 0.9438 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/3.201, allocations: 0 / 0.9438 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/3.201, allocations: 0 / 0.9438 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/3.201, allocations: 0 / 0.9438 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/3.201, allocations: 312.7 kB / 0.9441 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/3.201, allocations: 0 / 0.9441 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/3.201, allocations: 4 kB / 0.9441 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/3.202, allocations: 84.56 kB / 0.9442 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/3.202, allocations: 8 kB / 0.9442 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000438/3.202, allocations: 0.5627 MB / 0.9447 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/3.202, allocations: 4.047 kB / 0.9447 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/3.203, allocations: 164.7 kB / 0.9449 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/3.203, allocations: 108.8 kB / 0.945 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/3.203, allocations: 7.984 kB / 0.945 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/3.203, allocations: 0 / 0.945 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/3.203, allocations: 4 kB / 0.945 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/3.203, allocations: 7.984 kB / 0.945 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002299/3.203, allocations: 211.2 kB / 0.9452 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/3.203, allocations: 0 / 0.9452 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005187/3.208, allocations: 1.608 MB / 0.9468 GB, free: 7.387 MB / 0.7794 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.01161/3.22, allocations: 2.479 MB / 0.9492 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007336/3.221, allocations: 135.4 kB / 0.9493 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/3.221, allocations: 0 / 0.9493 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/3.221, allocations: 41.06 kB / 0.9494 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/3.222, allocations: 70.39 kB / 0.9494 GB, free: 5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/3.223, allocations: 466.2 kB / 0.9499 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/3.223, allocations: 0.7596 MB / 0.9506 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001838/3.223, allocations: 48.25 kB / 0.9507 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/3.224, allocations: 27.44 kB / 0.9507 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of SimCode: time 7.51e-07/3.224, allocations: 4 kB / 0.9507 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.07059/3.294, allocations: 48.71 MB / 0.9983 GB, free: 3.008 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile (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)