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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7842/0.7842, allocations: 152.6 MB / 169.6 MB, free: 14.91 MB / 142.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004674, allocations: 16.25 kB / 245.6 MB, free: 15.74 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05194/0.05241, allocations: 33.05 MB / 278.7 MB, free: 0.7188 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.549/1.601, allocations: 301.1 MB / 0.5662 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04145/1.643, allocations: 34.82 MB / 0.6002 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/1.643, allocations: 0 / 0.6002 GB, free: 15.62 MB / 494.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.0003846/1.643, allocations: 136.7 kB / 0.6004 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/1.644, allocations: 115.2 kB / 0.6005 GB, free: 15.38 MB / 494.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.02274/1.666, allocations: 9.815 MB / 0.6101 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005616/1.667, allocations: 350.9 kB / 0.6104 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/1.667, allocations: 96.58 kB / 0.6105 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/1.667, allocations: 159.3 kB / 0.6106 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/1.668, allocations: 107.4 kB / 0.6107 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/1.668, allocations: 20 kB / 0.6108 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0307/1.698, allocations: 17.97 MB / 0.6283 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/1.698, allocations: 47.78 kB / 0.6284 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/1.699, allocations: 135.3 kB / 0.6285 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01779/1.716, allocations: 8.485 MB / 0.6368 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.716, allocations: 4 kB / 0.6368 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/1.716, allocations: 0 / 0.6368 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.716, allocations: 0 / 0.6368 GB, free: 10.14 MB / 0.5137 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.003992/1.72, allocations: 1.505 MB / 0.6382 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.72, allocations: 12.03 kB / 0.6383 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/1.72, allocations: 27.81 kB / 0.6383 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/1.721, allocations: 234.6 kB / 0.6385 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/1.721, allocations: 16.44 kB / 0.6385 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/1.721, allocations: 20 kB / 0.6385 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/1.721, allocations: 313.1 kB / 0.6388 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.721, allocations: 3.938 kB / 0.6388 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/1.721, allocations: 15.98 kB / 0.6389 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/1.721, allocations: 16 kB / 0.6389 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/1.722, allocations: 177 kB / 0.639 GB, free: 7.684 MB / 0.5137 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.03924/1.761, allocations: 18.17 MB / 0.6568 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/1.761, allocations: 134.5 kB / 0.6569 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/1.761, allocations: 64.84 kB / 0.657 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3148/2.076, allocations: 77.91 MB / 0.7331 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/2.076, allocations: 33.25 kB / 0.7331 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/2.076, allocations: 0 / 0.7331 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.0007483/2.077, allocations: 420.6 kB / 0.7335 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/2.077, allocations: 79.67 kB / 0.7336 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/2.077, allocations: 226.1 kB / 0.7338 GB, free: 209 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/2.077, allocations: 25.7 kB / 0.7338 GB, free: 209 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/2.077, allocations: 157.3 kB / 0.734 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/2.077, allocations: 114.7 kB / 0.7341 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/2.077, allocations: 54.89 kB / 0.7341 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.563e-05/2.077, allocations: 341.2 kB / 0.7344 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/2.077, allocations: 73.97 kB / 0.7345 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/2.078, allocations: 132.2 kB / 0.7346 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/2.078, allocations: 225.2 kB / 0.7349 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.078, allocations: 0 / 0.7349 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003518/2.078, allocations: 298.9 kB / 0.7351 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/2.078, allocations: 9.344 kB / 0.7352 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/2.078, allocations: 6.531 kB / 0.7352 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008598/2.079, allocations: 130.4 kB / 0.7353 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/2.079, allocations: 19.59 kB / 0.7353 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003525/2.079, allocations: 0.6236 MB / 0.7359 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/2.08, allocations: 32.17 kB / 0.7359 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/2.08, allocations: 7.469 kB / 0.7359 GB, free: 207.8 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 8.836e-05/2.08, allocations: 132.4 kB / 0.7361 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/2.08, allocations: 22.14 kB / 0.7361 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00068/2.08, allocations: 0.5906 MB / 0.7367 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004252/2.081, allocations: 218.8 kB / 0.7369 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/2.081, allocations: 0 / 0.7369 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/2.081, allocations: 4.453 kB / 0.7369 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008274/2.082, allocations: 0.7255 MB / 0.7376 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/2.082, allocations: 0 / 0.7376 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/2.082, allocations: 25.2 kB / 0.7376 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003109/2.082, allocations: 111.8 kB / 0.7377 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/2.082, allocations: 7.688 kB / 0.7377 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003172/2.082, allocations: 0.633 MB / 0.7384 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/2.082, allocations: 3.656 kB / 0.7384 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/2.083, allocations: 344.7 kB / 0.7387 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/2.083, allocations: 103.2 kB / 0.7388 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/2.083, allocations: 16.78 kB / 0.7388 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/2.083, allocations: 5.5 kB / 0.7388 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/2.083, allocations: 10.3 kB / 0.7388 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/2.083, allocations: 5.75 kB / 0.7388 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001768/2.083, allocations: 237 kB / 0.739 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.083, allocations: 0 / 0.739 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002393/2.086, allocations: 1.227 MB / 0.7402 GB, free: 206.1 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.00386/2.09, allocations: 1.79 MB / 0.742 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004878/2.09, allocations: 231.1 kB / 0.7422 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/2.09, allocations: 0 / 0.7422 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/2.09, allocations: 92.09 kB / 0.7423 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/2.091, allocations: 121.8 kB / 0.7424 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/2.092, allocations: 0.5414 MB / 0.7429 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/2.092, allocations: 0.7675 MB / 0.7437 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/2.092, allocations: 30.69 kB / 0.7437 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/2.092, allocations: 0 / 0.7437 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.02515/2.117, allocations: 25.35 MB / 0.7685 GB, free: 183.5 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.28311616089195] Failed to read output from testmodel.py, exit status != 0: 2.2289155379403383 2.236949143 0.518675496 Calling exit ...