Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.8519/0.8519, 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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005488/0.0005488, allocations: 11.97 kB / 217.7 MB, free: 13.59 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06164/0.06219, allocations: 33.37 MB / 251 MB, free: 13.37 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.83/1.892, allocations: 253.9 MB / 0.4931 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04516/1.937, allocations: 30.74 MB / 0.5231 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/1.938, allocations: 3.938 kB / 0.5231 GB, free: 6.18 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.0004218/1.938, allocations: 109.1 kB / 0.5232 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/1.938, allocations: 112 kB / 0.5233 GB, free: 5.965 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.02711/1.965, allocations: 9.756 MB / 0.5329 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006522/1.966, allocations: 359.5 kB / 0.5332 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/1.966, allocations: 97.98 kB / 0.5333 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/1.967, allocations: 164.8 kB / 0.5335 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/1.967, allocations: 103.4 kB / 0.5336 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/1.967, allocations: 16 kB / 0.5336 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0341/2.001, allocations: 16.83 MB / 0.55 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/2.001, allocations: 51.78 kB / 0.5501 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/2.001, allocations: 107.5 kB / 0.5502 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01917/2.02, allocations: 8.505 MB / 0.5585 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/2.02, allocations: 4 kB / 0.5585 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/2.02, allocations: 3.938 kB / 0.5585 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.566e-06/2.02, allocations: 0 / 0.5585 GB, free: 2.008 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.003874/2.024, allocations: 1.423 MB / 0.5599 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/2.024, allocations: 14.23 kB / 0.5599 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/2.024, allocations: 27.81 kB / 0.5599 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/2.025, allocations: 180.7 kB / 0.5601 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/2.025, allocations: 12.5 kB / 0.5601 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/2.025, allocations: 20 kB / 0.5601 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/2.025, allocations: 347.2 kB / 0.5604 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/2.025, allocations: 2.469 kB / 0.5604 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/2.025, allocations: 12.8 kB / 0.5605 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/2.025, allocations: 8 kB / 0.5605 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/2.026, allocations: 181.1 kB / 0.5606 GB, free: 15.7 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.03921/2.065, allocations: 10.86 MB / 0.5712 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/2.065, allocations: 126.6 kB / 0.5714 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/2.065, allocations: 77.95 kB / 0.5714 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1637/2.229, allocations: 43.62 MB / 0.614 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/2.229, allocations: 38.56 kB / 0.6141 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.176e-06/2.229, allocations: 1.125 kB / 0.6141 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009663/2.23, allocations: 336.5 kB / 0.6144 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/2.23, allocations: 77.11 kB / 0.6145 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/2.23, allocations: 190.9 kB / 0.6146 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/2.23, allocations: 33.64 kB / 0.6147 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/2.23, allocations: 164.5 kB / 0.6148 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/2.231, allocations: 118.9 kB / 0.615 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/2.231, allocations: 49.7 kB / 0.615 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001535/2.231, allocations: 334.8 kB / 0.6153 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/2.231, allocations: 79.97 kB / 0.6154 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/2.231, allocations: 155.7 kB / 0.6155 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/2.231, allocations: 230.9 kB / 0.6158 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/2.231, allocations: 0 / 0.6158 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004976/2.232, allocations: 298.1 kB / 0.616 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/2.232, allocations: 4 kB / 0.6161 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/2.232, allocations: 0 / 0.6161 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/2.233, allocations: 144.7 kB / 0.6162 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/2.233, allocations: 19.92 kB / 0.6162 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006294/2.234, allocations: 0.6127 MB / 0.6168 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/2.234, allocations: 23.78 kB / 0.6168 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/2.234, allocations: 12 kB / 0.6168 GB, free: 5.883 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.000147/2.234, allocations: 137.9 kB / 0.617 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/2.234, allocations: 19.86 kB / 0.617 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/2.235, allocations: 0.5953 MB / 0.6176 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005914/2.236, allocations: 225.4 kB / 0.6178 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/2.236, allocations: 5.547 kB / 0.6178 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/2.236, allocations: 8 kB / 0.6178 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/2.237, allocations: 0.6233 MB / 0.6184 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/2.237, allocations: 0 / 0.6184 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/2.237, allocations: 19.94 kB / 0.6184 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/2.237, allocations: 116.7 kB / 0.6185 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/2.237, allocations: 11.94 kB / 0.6185 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005856/2.238, allocations: 0.6436 MB / 0.6192 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/2.238, allocations: 0 / 0.6192 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/2.239, allocations: 341.4 kB / 0.6195 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/2.239, allocations: 27.83 kB / 0.6195 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/2.239, allocations: 7.891 kB / 0.6195 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/2.239, allocations: 8.062 kB / 0.6195 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/2.239, allocations: 11.98 kB / 0.6196 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/2.239, allocations: 4 kB / 0.6196 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002275/2.239, allocations: 209.2 kB / 0.6198 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/2.239, allocations: 0 / 0.6198 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003241/2.242, allocations: 1.239 MB / 0.621 GB, free: 1.484 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.004928/2.247, allocations: 1.787 MB / 0.6227 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006287/2.248, allocations: 229.5 kB / 0.6229 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/2.248, allocations: 0 / 0.6229 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/2.248, allocations: 83.89 kB / 0.623 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/2.249, allocations: 119 kB / 0.6231 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/2.25, allocations: 0.519 MB / 0.6236 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/2.25, allocations: 160.8 kB / 0.6238 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.469e-05/2.25, allocations: 13.64 kB / 0.6238 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/2.25, allocations: 24.5 kB / 0.6238 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/2.25, allocations: 0 / 0.6238 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.06379/2.314, allocations: 42.39 MB / 0.6652 GB, free: 4.379 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.40244206902571] Failed to read output from testmodel.py, exit status != 0: 2.6764023910509422 2.686080794 0.663239423 Calling exit ...