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 1.129/1.129, allocations: 150.9 MB / 166.4 MB, free: 14.21 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 19.97 kB / 204.5 MB, free: 9.625 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2188, allocations: 31.32 MB / 235.9 MB, free: 5.43 MB / 190.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.826/2.044, allocations: 294.8 MB / 0.5182 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6232/2.668, allocations: 190.1 MB / 0.7038 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003767/2.668, allocations: 9.094 kB / 0.7038 GB, free: 2.137 MB / 0.5762 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.0001686/2.668, allocations: 42.86 kB / 0.7039 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004181/2.669, allocations: 112.4 kB / 0.704 GB, free: 2.137 MB / 0.5762 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.04036/2.709, allocations: 12.11 MB / 0.7158 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009317/2.71, allocations: 396.6 kB / 0.7162 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/2.71, allocations: 205.5 kB / 0.7164 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/2.711, allocations: 161.3 kB / 0.7165 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/2.711, allocations: 175.1 kB / 0.7167 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/2.711, allocations: 36.16 kB / 0.7167 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04948/2.76, allocations: 20.74 MB / 0.737 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/2.761, allocations: 76.34 kB / 0.737 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004151/2.761, allocations: 186.2 kB / 0.7372 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03754/2.799, allocations: 10.38 MB / 0.7474 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/2.799, allocations: 0 / 0.7474 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/2.799, allocations: 2.25 kB / 0.7474 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.948e-06/2.799, allocations: 0 / 0.7474 GB, free: 14.61 MB / 0.5919 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.006443/2.805, allocations: 1.869 MB / 0.7492 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/2.805, allocations: 8.469 kB / 0.7492 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/2.805, allocations: 42.94 kB / 0.7492 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/2.806, allocations: 291 kB / 0.7495 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/2.806, allocations: 31.25 kB / 0.7495 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/2.806, allocations: 32.53 kB / 0.7496 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/2.806, allocations: 383.3 kB / 0.7499 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/2.806, allocations: 1 kB / 0.7499 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/2.806, allocations: 18.44 kB / 0.75 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/2.806, allocations: 8.5 kB / 0.75 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/2.807, allocations: 247.5 kB / 0.7502 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008989/2.816, allocations: 6.167 MB / 0.7562 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/2.816, allocations: 79.44 kB / 0.7563 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/2.816, allocations: 38.97 kB / 0.7563 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3278/3.144, allocations: 154.7 MB / 0.9074 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/3.144, allocations: 35.41 kB / 0.9075 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/3.144, allocations: 0 / 0.9075 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0008772/3.145, allocations: 254 kB / 0.9077 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/3.145, allocations: 77.11 kB / 0.9078 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/3.145, allocations: 290.5 kB / 0.9081 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/3.145, allocations: 25.7 kB / 0.9081 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/3.146, allocations: 233.6 kB / 0.9083 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/3.146, allocations: 30.38 kB / 0.9083 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/3.146, allocations: 59.95 kB / 0.9084 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000111/3.146, allocations: 339.6 kB / 0.9087 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/3.146, allocations: 50.08 kB / 0.9088 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/3.146, allocations: 164.1 kB / 0.9089 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/3.146, allocations: 202.3 kB / 0.9091 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/3.146, allocations: 4 kB / 0.9091 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005454/3.147, allocations: 272.6 kB / 0.9094 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/3.147, allocations: 16.08 kB / 0.9094 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/3.147, allocations: 0 / 0.9094 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000928/3.148, allocations: 113.3 kB / 0.9095 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/3.148, allocations: 52.08 kB / 0.9096 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/3.149, allocations: 0.5675 MB / 0.9101 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/3.149, allocations: 32.23 kB / 0.9101 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/3.149, allocations: 12 kB / 0.9102 GB, free: 1.883 MB / 0.7481 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.0001512/3.149, allocations: 146.6 kB / 0.9103 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/3.149, allocations: 31.72 kB / 0.9103 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/3.15, allocations: 168.9 kB / 0.9105 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/3.15, allocations: 0 / 0.9105 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/3.15, allocations: 0 / 0.9105 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/3.15, allocations: 0 / 0.9105 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/3.15, allocations: 315.1 kB / 0.9108 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/3.15, allocations: 4 kB / 0.9108 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/3.15, allocations: 11.98 kB / 0.9108 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004849/3.151, allocations: 79.33 kB / 0.9109 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/3.151, allocations: 0 / 0.9109 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003892/3.151, allocations: 0.5658 MB / 0.9114 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/3.151, allocations: 5.438 kB / 0.9114 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/3.152, allocations: 166.4 kB / 0.9116 GB, free: 464 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.866e-05/3.152, allocations: 109.5 kB / 0.9117 GB, free: 340 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/3.152, allocations: 2.344 kB / 0.9117 GB, free: 340 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/3.152, allocations: 0.625 kB / 0.9117 GB, free: 340 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/3.152, allocations: 12.55 kB / 0.9117 GB, free: 328 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/3.152, allocations: 4.625 kB / 0.9117 GB, free: 324 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002234/3.152, allocations: 209.6 kB / 0.9119 GB, free: 152 kB / 0.7481 GB Notification: Performance of sort global known variables: time 4.41e-07/3.152, allocations: 0 / 0.9119 GB, free: 152 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00487/3.157, allocations: 1.607 MB / 0.9135 GB, free: 14.66 MB / 0.7637 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.009558/3.167, allocations: 2.479 MB / 0.9159 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005609/3.167, allocations: 138.7 kB / 0.916 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/3.167, allocations: 0 / 0.916 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/3.167, allocations: 47.16 kB / 0.9161 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/3.168, allocations: 65.33 kB / 0.9161 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000987/3.169, allocations: 466.1 kB / 0.9166 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/3.169, allocations: 0.7635 MB / 0.9173 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001954/3.169, allocations: 43.06 kB / 0.9174 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/3.169, allocations: 28.61 kB / 0.9174 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of SimCode: time 4.21e-07/3.169, allocations: 0 / 0.9174 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of Templates: time 0.06573/3.235, allocations: 48.71 MB / 0.965 GB, free: 10.38 MB / 0.8106 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)