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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8517/0.8517, allocations: 120.4 MB / 140.1 MB, free: 40 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.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.0005414/0.0005414, allocations: 21.41 kB / 217.7 MB, free: 13.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05711/0.05765, allocations: 33.37 MB / 251.1 MB, free: 13.27 MB / 238.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.Examples.SimpleExamples.TestDiaphragm): time 1.787/1.845, allocations: 254 MB / 0.4933 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04377/1.889, allocations: 30.73 MB / 0.5233 GB, free: 6.105 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/1.889, allocations: 0 / 0.5233 GB, free: 6.105 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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.0003944/1.889, allocations: 112.4 kB / 0.5234 GB, free: 5.996 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/1.889, allocations: 114 kB / 0.5235 GB, free: 5.887 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02746/1.917, allocations: 9.76 MB / 0.533 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000583/1.917, allocations: 354.9 kB / 0.5334 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/1.918, allocations: 96.73 kB / 0.5335 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/1.918, allocations: 159.4 kB / 0.5336 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/1.918, allocations: 107.4 kB / 0.5337 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/1.918, allocations: 16 kB / 0.5337 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03313/1.951, allocations: 16.83 MB / 0.5502 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/1.951, allocations: 45.97 kB / 0.5502 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/1.952, allocations: 107.5 kB / 0.5503 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01971/1.971, allocations: 8.509 MB / 0.5586 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.971, allocations: 4 kB / 0.5586 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/1.971, allocations: 0 / 0.5586 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.171e-05/1.971, allocations: 0.9375 kB / 0.5586 GB, free: 1.938 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.00373/1.975, allocations: 1.43 MB / 0.56 GB, free: 480 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/1.975, allocations: 9.25 kB / 0.56 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/1.975, allocations: 27.81 kB / 0.5601 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/1.975, allocations: 182 kB / 0.5602 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/1.976, allocations: 16.5 kB / 0.5603 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/1.976, allocations: 16.97 kB / 0.5603 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/1.976, allocations: 343.2 kB / 0.5606 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.976, allocations: 2.312 kB / 0.5606 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/1.976, allocations: 12 kB / 0.5606 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/1.976, allocations: 11.98 kB / 0.5606 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/1.976, allocations: 177.1 kB / 0.5608 GB, free: 15.63 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.03945/2.016, allocations: 10.85 MB / 0.5714 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/2.016, allocations: 142.5 kB / 0.5715 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/2.016, allocations: 64.84 kB / 0.5716 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1664/2.183, allocations: 43.62 MB / 0.6142 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/2.183, allocations: 34.56 kB / 0.6142 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/2.183, allocations: 0 / 0.6142 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009533/2.184, allocations: 341.8 kB / 0.6145 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/2.184, allocations: 81.11 kB / 0.6146 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/2.184, allocations: 190.9 kB / 0.6148 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/2.184, allocations: 29.7 kB / 0.6148 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/2.184, allocations: 164.5 kB / 0.615 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.879e-05/2.184, allocations: 115 kB / 0.6151 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/2.184, allocations: 53.69 kB / 0.6152 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001584/2.185, allocations: 330.8 kB / 0.6155 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/2.185, allocations: 79.97 kB / 0.6155 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/2.185, allocations: 155.7 kB / 0.6157 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/2.185, allocations: 238.9 kB / 0.6159 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/2.185, allocations: 0 / 0.6159 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005051/2.186, allocations: 302.1 kB / 0.6162 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/2.186, allocations: 4 kB / 0.6162 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/2.186, allocations: 0 / 0.6162 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/2.187, allocations: 141.4 kB / 0.6163 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/2.187, allocations: 15.94 kB / 0.6164 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006323/2.188, allocations: 0.6115 MB / 0.617 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/2.188, allocations: 35.86 kB / 0.617 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/2.188, allocations: 8 kB / 0.617 GB, free: 5.801 MB / 0.5606 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.0001481/2.188, allocations: 131.9 kB / 0.6171 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/2.188, allocations: 23.86 kB / 0.6172 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/2.189, allocations: 0.5953 MB / 0.6177 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006027/2.19, allocations: 232.7 kB / 0.618 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/2.19, allocations: 0 / 0.618 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/2.19, allocations: 3.938 kB / 0.618 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/2.191, allocations: 0.6248 MB / 0.6186 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/2.191, allocations: 0 / 0.6186 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/2.191, allocations: 19.98 kB / 0.6186 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003956/2.191, allocations: 124.7 kB / 0.6187 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/2.191, allocations: 3.938 kB / 0.6187 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000596/2.192, allocations: 0.6389 MB / 0.6193 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.192, allocations: 0 / 0.6193 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/2.193, allocations: 339.1 kB / 0.6197 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/2.193, allocations: 27.89 kB / 0.6197 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/2.193, allocations: 15.89 kB / 0.6197 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/2.193, allocations: 7.984 kB / 0.6197 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/2.193, allocations: 7.984 kB / 0.6197 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/2.193, allocations: 8 kB / 0.6197 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002285/2.193, allocations: 205.2 kB / 0.6199 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/2.193, allocations: 0 / 0.6199 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003032/2.196, allocations: 1.243 MB / 0.6211 GB, free: 1.402 MB / 0.5606 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.004733/2.201, allocations: 1.786 MB / 0.6229 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000648/2.202, allocations: 222.3 kB / 0.6231 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/2.202, allocations: 0 / 0.6231 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/2.202, allocations: 84.2 kB / 0.6232 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/2.203, allocations: 120.3 kB / 0.6233 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/2.203, allocations: 0.5115 MB / 0.6238 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/2.204, allocations: 164.8 kB / 0.6239 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.104e-05/2.204, allocations: 25.2 kB / 0.624 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/2.204, allocations: 20.5 kB / 0.624 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/2.204, allocations: 0 / 0.624 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of Templates: time 0.0642/2.268, allocations: 42.38 MB / 0.6654 GB, free: 4.297 MB / 0.6075 GB " [Timeout remaining time 657] 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.35713883000426] Failed to read output from testmodel.py, exit status != 0: 2.6310179859865457 2.640649239 0.666804758 Calling exit ...