Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.839/0.839, 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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005486/0.0005486, allocations: 23 kB / 217.7 MB, free: 13.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05674/0.05728, 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.TestSingularPressureLoss): time 1.81/1.867, allocations: 254 MB / 0.4932 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04423/1.911, allocations: 30.51 MB / 0.523 GB, free: 6.352 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/1.912, allocations: 0 / 0.523 GB, free: 6.352 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/SingularPressureLoss.mo:25:3-27:16: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/SingularPressureLoss.mo:28:3-29:52: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.0004192/1.912, allocations: 102.4 kB / 0.5231 GB, free: 6.254 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/1.912, allocations: 113.9 kB / 0.5232 GB, free: 6.145 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.02786/1.94, allocations: 9.694 MB / 0.5327 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005846/1.941, allocations: 334.5 kB / 0.533 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/1.941, allocations: 86.02 kB / 0.5331 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/1.941, allocations: 151.4 kB / 0.5333 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/1.941, allocations: 91.45 kB / 0.5333 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/1.941, allocations: 17.47 kB / 0.5334 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03245/1.974, allocations: 16.76 MB / 0.5497 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/1.974, allocations: 31.86 kB / 0.5498 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/1.974, allocations: 103.5 kB / 0.5499 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01885/1.993, allocations: 8.437 MB / 0.5581 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.993, allocations: 3.938 kB / 0.5581 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.993, allocations: 0 / 0.5581 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.993, allocations: 0 / 0.5581 GB, free: 2.473 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00399/1.997, allocations: 1.396 MB / 0.5595 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/1.997, allocations: 14.11 kB / 0.5595 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/1.997, allocations: 27.81 kB / 0.5595 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/1.997, allocations: 172.7 kB / 0.5597 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/1.997, allocations: 16.44 kB / 0.5597 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/1.997, allocations: 20 kB / 0.5597 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/1.998, allocations: 284.1 kB / 0.56 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/1.998, allocations: 3.938 kB / 0.56 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/1.998, allocations: 8 kB / 0.56 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/1.998, allocations: 17.2 kB / 0.56 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/1.998, allocations: 161.4 kB / 0.5602 GB, free: 288 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.04006/2.038, allocations: 10.77 MB / 0.5707 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/2.039, allocations: 106.5 kB / 0.5708 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/2.039, allocations: 60.97 kB / 0.5708 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1662/2.205, allocations: 43.57 MB / 0.6134 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/2.205, allocations: 34.5 kB / 0.6134 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/2.205, allocations: 0 / 0.6134 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0008772/2.206, allocations: 319.8 kB / 0.6137 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/2.206, allocations: 51.41 kB / 0.6138 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/2.206, allocations: 170.2 kB / 0.6139 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/2.206, allocations: 25.7 kB / 0.614 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/2.206, allocations: 160.6 kB / 0.6141 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/2.206, allocations: 107 kB / 0.6142 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/2.206, allocations: 53.64 kB / 0.6143 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/2.207, allocations: 326.8 kB / 0.6146 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/2.207, allocations: 68.3 kB / 0.6146 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/2.207, allocations: 110.4 kB / 0.6147 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/2.207, allocations: 210.1 kB / 0.6149 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/2.207, allocations: 8.062 kB / 0.615 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004912/2.208, allocations: 278.1 kB / 0.6152 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/2.208, allocations: 4 kB / 0.6152 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/2.208, allocations: 0 / 0.6152 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000928/2.209, allocations: 145.3 kB / 0.6154 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/2.209, allocations: 11.98 kB / 0.6154 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006075/2.209, allocations: 0.6075 MB / 0.616 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/2.209, allocations: 19.81 kB / 0.616 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/2.209, allocations: 7.938 kB / 0.616 GB, free: 6.867 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (singularPressureLoss.C2.b,singularPressureLoss.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 (11): * Single equations (assignments): 8 * 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.0001745/2.209, allocations: 148.9 kB / 0.6161 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/2.21, allocations: 19.86 kB / 0.6162 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007869/2.21, allocations: 0.5516 MB / 0.6167 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003684/2.211, allocations: 202.4 kB / 0.6169 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/2.211, allocations: 6.562 kB / 0.6169 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/2.211, allocations: 0 / 0.6169 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008843/2.212, allocations: 0.5776 MB / 0.6175 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/2.212, allocations: 0 / 0.6175 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/2.212, allocations: 19.98 kB / 0.6175 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003852/2.212, allocations: 104.8 kB / 0.6176 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/2.212, allocations: 0 / 0.6176 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005756/2.213, allocations: 0.639 MB / 0.6182 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/2.213, allocations: 0 / 0.6182 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/2.213, allocations: 299.6 kB / 0.6185 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/2.213, allocations: 19.84 kB / 0.6185 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/2.213, allocations: 19.94 kB / 0.6185 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/2.213, allocations: 7.938 kB / 0.6185 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/2.213, allocations: 7.984 kB / 0.6185 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/2.213, allocations: 8 kB / 0.6185 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002262/2.213, allocations: 197.8 kB / 0.6187 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/2.213, allocations: 3.938 kB / 0.6187 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003215/2.217, allocations: 1.204 MB / 0.6199 GB, free: 2.676 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 (11): * Single equations (assignments): 10 * 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.005677/2.222, allocations: 1.744 MB / 0.6216 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00059/2.223, allocations: 201.6 kB / 0.6218 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/2.223, allocations: 0 / 0.6218 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/2.223, allocations: 80.14 kB / 0.6219 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/2.224, allocations: 110.6 kB / 0.622 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009289/2.225, allocations: 497.5 kB / 0.6225 GB, free: 48 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/2.225, allocations: 155.5 kB / 0.6226 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.83e-05/2.225, allocations: 15.17 kB / 0.6226 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/2.225, allocations: 16.5 kB / 0.6226 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/2.225, allocations: 0 / 0.6226 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.065/2.29, allocations: 41.63 MB / 0.6633 GB, free: 6.441 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.404087649076246] Failed to read output from testmodel.py, exit status != 0: 2.6475296010030434 2.656902368 0.661587355 Calling exit ...