Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9624/0.9624, allocations: 150.9 MB / 166.5 MB, free: 14.73 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003396, allocations: 16.88 kB / 237.1 MB, free: 1.719 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0609/0.06125, allocations: 31.34 MB / 268.4 MB, free: 7.086 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.Examples.SimpleExamples.TestDiaphragm): time 1.675/1.736, allocations: 294.8 MB / 0.55 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04047/1.777, allocations: 34.67 MB / 0.5839 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/1.777, allocations: 0 / 0.5839 GB, free: 10.43 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Diaphragm.mo:30:3-32:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Diaphragm.mo:33:3-35:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000411/1.778, allocations: 111.3 kB / 0.584 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/1.778, allocations: 87.23 kB / 0.5841 GB, free: 10.23 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02486/1.803, allocations: 9.64 MB / 0.5935 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/1.803, allocations: 358.8 kB / 0.5938 GB, free: 228 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/1.803, allocations: 116.6 kB / 0.594 GB, free: 112 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/1.804, allocations: 151.3 kB / 0.5941 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/1.804, allocations: 111.4 kB / 0.5942 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/1.804, allocations: 16 kB / 0.5942 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03119/1.835, allocations: 17.97 MB / 0.6118 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/1.835, allocations: 43.72 kB / 0.6118 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/1.835, allocations: 143.3 kB / 0.612 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02158/1.857, allocations: 8.482 MB / 0.6202 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.857, allocations: 0 / 0.6202 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.641e-06/1.857, allocations: 0 / 0.6202 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.45e-05/1.857, allocations: 3.938 kB / 0.6202 GB, free: 5.148 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004578/1.862, allocations: 1.514 MB / 0.6217 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.862, allocations: 8.031 kB / 0.6217 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/1.862, allocations: 27.81 kB / 0.6217 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/1.862, allocations: 230.6 kB / 0.622 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/1.862, allocations: 16.44 kB / 0.622 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/1.862, allocations: 16 kB / 0.622 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/1.863, allocations: 317.1 kB / 0.6223 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.863, allocations: 3.938 kB / 0.6223 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/1.863, allocations: 8 kB / 0.6223 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/1.863, allocations: 15.98 kB / 0.6223 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/1.863, allocations: 177 kB / 0.6225 GB, free: 2.703 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03872/1.902, allocations: 18.17 MB / 0.6402 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/1.902, allocations: 142.6 kB / 0.6404 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/1.902, allocations: 92.83 kB / 0.6405 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3322/2.235, allocations: 77.92 MB / 0.7166 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/2.235, allocations: 32.77 kB / 0.7166 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 3.447e-06/2.235, allocations: 0 / 0.7166 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0009856/2.236, allocations: 430.5 kB / 0.717 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/2.236, allocations: 78.36 kB / 0.7171 GB, free: 212 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/2.236, allocations: 221.9 kB / 0.7173 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/2.236, allocations: 28 kB / 0.7173 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/2.236, allocations: 162.2 kB / 0.7175 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/2.236, allocations: 115.2 kB / 0.7176 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/2.236, allocations: 52.86 kB / 0.7176 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/2.236, allocations: 337.3 kB / 0.718 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/2.236, allocations: 72.03 kB / 0.718 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/2.236, allocations: 130.5 kB / 0.7181 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/2.237, allocations: 225.8 kB / 0.7184 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/2.237, allocations: 0 / 0.7184 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004253/2.237, allocations: 318.8 kB / 0.7187 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/2.237, allocations: 5.25 kB / 0.7187 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/2.237, allocations: 0 / 0.7187 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/2.238, allocations: 137.8 kB / 0.7188 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/2.238, allocations: 19.11 kB / 0.7188 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004511/2.239, allocations: 0.6152 MB / 0.7194 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/2.239, allocations: 33.33 kB / 0.7195 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/2.239, allocations: 5.375 kB / 0.7195 GB, free: 210.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001068/2.239, allocations: 141.7 kB / 0.7196 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/2.239, allocations: 20.52 kB / 0.7196 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/2.24, allocations: 0.6105 MB / 0.7202 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004541/2.24, allocations: 230.8 kB / 0.7204 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/2.24, allocations: 0 / 0.7204 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/2.24, allocations: 4.984 kB / 0.7204 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/2.241, allocations: 0.7289 MB / 0.7211 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/2.241, allocations: 0 / 0.7211 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/2.241, allocations: 22 kB / 0.7212 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003231/2.242, allocations: 119.5 kB / 0.7213 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/2.242, allocations: 7.438 kB / 0.7213 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003347/2.242, allocations: 0.634 MB / 0.7219 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.242, allocations: 0 / 0.7219 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/2.243, allocations: 347.4 kB / 0.7222 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/2.243, allocations: 112.3 kB / 0.7223 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/2.243, allocations: 16.34 kB / 0.7224 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/2.243, allocations: 3.281 kB / 0.7224 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/2.243, allocations: 5.969 kB / 0.7224 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/2.243, allocations: 11.83 kB / 0.7224 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001856/2.243, allocations: 234.2 kB / 0.7226 GB, free: 209 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/2.243, allocations: 6.875 kB / 0.7226 GB, free: 209 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002485/2.246, allocations: 1.225 MB / 0.7238 GB, free: 209 MB / 0.5919 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 (13): * Single equations (assignments): 12 * 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.004106/2.25, allocations: 1.787 MB / 0.7256 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005255/2.25, allocations: 257 kB / 0.7258 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/2.25, allocations: 0 / 0.7258 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/2.25, allocations: 108.1 kB / 0.7259 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/2.251, allocations: 122.9 kB / 0.726 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/2.252, allocations: 0.5183 MB / 0.7265 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/2.252, allocations: 0.7645 MB / 0.7273 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.174e-05/2.252, allocations: 28.03 kB / 0.7273 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/2.252, allocations: 24.72 kB / 0.7273 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/2.252, allocations: 0 / 0.7273 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.04154/2.294, allocations: 42.88 MB / 0.7692 GB, free: 178.8 MB / 0.5919 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1)