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.8758/0.8758, allocations: 153.8 MB / 173.4 MB, free: 4.871 MB / 142.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.0005287/0.0005287, allocations: 15.97 kB / 251 MB, free: 3.938 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2016, allocations: 33.35 MB / 284.3 MB, free: 2.078 MB / 222.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.986/2.188, allocations: 307.4 MB / 0.5779 GB, free: 17.33 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0377/2.225, allocations: 30.74 MB / 0.6079 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/2.226, allocations: 2.312 kB / 0.6079 GB, free: 2.664 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.0004831/2.226, allocations: 110.9 kB / 0.608 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/2.226, allocations: 118.4 kB / 0.6082 GB, free: 2.531 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.03195/2.258, allocations: 9.751 MB / 0.6177 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007251/2.259, allocations: 354.9 kB / 0.618 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/2.259, allocations: 97.48 kB / 0.6181 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/2.26, allocations: 160.4 kB / 0.6183 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/2.26, allocations: 103.4 kB / 0.6184 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/2.26, allocations: 17.16 kB / 0.6184 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03746/2.297, allocations: 16.83 MB / 0.6348 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/2.298, allocations: 47.78 kB / 0.6349 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/2.298, allocations: 109 kB / 0.635 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02417/2.322, allocations: 8.505 MB / 0.6433 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/2.322, allocations: 0 / 0.6433 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/2.322, allocations: 0 / 0.6433 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.238e-05/2.322, allocations: 4 kB / 0.6433 GB, free: 2.574 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.00489/2.327, allocations: 1.43 MB / 0.6447 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/2.327, allocations: 12.03 kB / 0.6447 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.24e-05/2.327, allocations: 31.81 kB / 0.6447 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/2.327, allocations: 176.7 kB / 0.6449 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/2.327, allocations: 16.44 kB / 0.6449 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/2.327, allocations: 21 kB / 0.6449 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/2.328, allocations: 342.8 kB / 0.6452 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/2.328, allocations: 0 / 0.6452 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/2.328, allocations: 8 kB / 0.6453 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/2.328, allocations: 12.64 kB / 0.6453 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/2.328, allocations: 177.9 kB / 0.6454 GB, free: 268 kB / 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.03712/2.365, allocations: 10.87 MB / 0.656 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/2.366, allocations: 135.1 kB / 0.6562 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/2.366, allocations: 64.84 kB / 0.6562 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1539/2.52, allocations: 43.62 MB / 0.6988 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/2.52, allocations: 34.56 kB / 0.6989 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/2.52, allocations: 0.8438 kB / 0.6989 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009682/2.521, allocations: 348.4 kB / 0.6992 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/2.521, allocations: 77.11 kB / 0.6993 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/2.521, allocations: 186.7 kB / 0.6995 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/2.521, allocations: 29.7 kB / 0.6995 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/2.521, allocations: 168.5 kB / 0.6996 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/2.521, allocations: 122.9 kB / 0.6998 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/2.521, allocations: 49.69 kB / 0.6998 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001522/2.522, allocations: 334.8 kB / 0.7001 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/2.522, allocations: 80.91 kB / 0.7002 GB, free: 8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/2.522, allocations: 156.4 kB / 0.7004 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/2.522, allocations: 233.5 kB / 0.7006 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/2.522, allocations: 0 / 0.7006 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004729/2.523, allocations: 298.2 kB / 0.7009 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/2.523, allocations: 8 kB / 0.7009 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/2.523, allocations: 0 / 0.7009 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009459/2.524, allocations: 140.8 kB / 0.701 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/2.524, allocations: 13.66 kB / 0.701 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005983/2.524, allocations: 0.6124 MB / 0.7016 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/2.524, allocations: 32.64 kB / 0.7016 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/2.524, allocations: 9.953 kB / 0.7017 GB, free: 6.438 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.0001565/2.525, allocations: 137.8 kB / 0.7018 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/2.525, allocations: 15.86 kB / 0.7018 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009877/2.526, allocations: 0.6004 MB / 0.7024 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005646/2.526, allocations: 223.3 kB / 0.7026 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/2.526, allocations: 0 / 0.7026 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/2.526, allocations: 3.984 kB / 0.7026 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/2.527, allocations: 0.628 MB / 0.7032 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/2.527, allocations: 0.8438 kB / 0.7032 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/2.527, allocations: 23.98 kB / 0.7032 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003655/2.528, allocations: 116.7 kB / 0.7033 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/2.528, allocations: 5.25 kB / 0.7034 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000565/2.528, allocations: 0.6403 MB / 0.704 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/2.528, allocations: 4.062 kB / 0.704 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/2.529, allocations: 339.7 kB / 0.7043 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/2.529, allocations: 23.83 kB / 0.7043 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/2.529, allocations: 15.89 kB / 0.7043 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/2.529, allocations: 4.656 kB / 0.7044 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/2.529, allocations: 19.91 kB / 0.7044 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/2.529, allocations: 0 / 0.7044 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002259/2.53, allocations: 208.5 kB / 0.7046 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/2.53, allocations: 4 kB / 0.7046 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00354/2.533, allocations: 1.239 MB / 0.7058 GB, free: 2.039 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.004879/2.538, allocations: 1.779 MB / 0.7075 GB, free: 292 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006795/2.539, allocations: 230.9 kB / 0.7077 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.539, allocations: 1.781 kB / 0.7077 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/2.539, allocations: 89.3 kB / 0.7078 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/2.54, allocations: 110 kB / 0.7079 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/2.541, allocations: 0.5399 MB / 0.7085 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/2.541, allocations: 170.8 kB / 0.7086 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/2.541, allocations: 19.44 kB / 0.7086 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/2.541, allocations: 0 / 0.7086 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.04303/2.584, allocations: 25.32 MB / 0.7334 GB, free: 6.172 MB / 0.5919 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.919603943359107] Failed to read output from testmodel.py, exit status != 0: 2.781513793859631 2.796564497 0.47141394400000003 Calling exit ...