Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8347/0.8347, allocations: 120.4 MB / 139.5 MB, free: 480 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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 217.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.544e-05, allocations: 2.281 kB / 217.2 MB, free: 13.72 MB / 206.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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss): time 1.517/1.517, allocations: 254.3 MB / 471.5 MB, free: 10.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4213/1.938, allocations: 164.8 MB / 0.6214 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/1.938, allocations: 7.938 kB / 0.6214 GB, free: 4.719 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001544/1.938, allocations: 43.52 kB / 0.6214 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003717/1.939, allocations: 122.9 kB / 0.6216 GB, free: 4.555 MB / 0.5606 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.03172/1.97, allocations: 11.57 MB / 0.6329 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005827/1.971, allocations: 395 kB / 0.6332 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/1.971, allocations: 169 kB / 0.6334 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/1.971, allocations: 227.5 kB / 0.6336 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/1.972, allocations: 111.7 kB / 0.6337 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/1.972, allocations: 32 kB / 0.6337 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03464/2.006, allocations: 18.66 MB / 0.652 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/2.006, allocations: 83.69 kB / 0.652 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/2.007, allocations: 127.7 kB / 0.6522 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02448/2.031, allocations: 12.32 MB / 0.6642 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/2.031, allocations: 3.938 kB / 0.6642 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/2.031, allocations: 4 kB / 0.6642 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.215e-06/2.031, allocations: 0.6562 kB / 0.6642 GB, free: 8.824 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004738/2.036, allocations: 1.756 MB / 0.6659 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/2.036, allocations: 8.031 kB / 0.6659 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/2.036, allocations: 47.72 kB / 0.666 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/2.036, allocations: 248 kB / 0.6662 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/2.037, allocations: 29 kB / 0.6662 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/2.037, allocations: 28 kB / 0.6663 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/2.037, allocations: 346.8 kB / 0.6666 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/2.037, allocations: 0 / 0.6666 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/2.037, allocations: 17.58 kB / 0.6666 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/2.037, allocations: 11.94 kB / 0.6666 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/2.038, allocations: 218.4 kB / 0.6668 GB, free: 6.047 MB / 0.6075 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.007961/2.046, allocations: 3.066 MB / 0.6698 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/2.046, allocations: 58.53 kB / 0.6699 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/2.046, allocations: 18.31 kB / 0.6699 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.164/2.21, allocations: 44.11 MB / 0.713 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/2.21, allocations: 31.38 kB / 0.713 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/2.21, allocations: 0 / 0.713 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0007428/2.211, allocations: 149.3 kB / 0.7131 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/2.211, allocations: 55.41 kB / 0.7132 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/2.211, allocations: 296.1 kB / 0.7135 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/2.211, allocations: 30.83 kB / 0.7135 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/2.211, allocations: 239.9 kB / 0.7137 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/2.211, allocations: 19.89 kB / 0.7138 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/2.211, allocations: 61.61 kB / 0.7138 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001554/2.212, allocations: 326.8 kB / 0.7141 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/2.212, allocations: 35.97 kB / 0.7142 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/2.212, allocations: 149.6 kB / 0.7143 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/2.212, allocations: 186.2 kB / 0.7145 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/2.212, allocations: 4 kB / 0.7145 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005601/2.213, allocations: 237.4 kB / 0.7147 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/2.213, allocations: 8.469 kB / 0.7147 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/2.213, allocations: 12.8 kB / 0.7147 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009434/2.214, allocations: 110.7 kB / 0.7148 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/2.214, allocations: 40.55 kB / 0.7149 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007673/2.215, allocations: 0.564 MB / 0.7154 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/2.215, allocations: 19.83 kB / 0.7154 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/2.215, allocations: 15.98 kB / 0.7155 GB, free: 3.953 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002731/2.215, allocations: 155 kB / 0.7156 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/2.215, allocations: 25.97 kB / 0.7156 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/2.216, allocations: 146.3 kB / 0.7158 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/2.216, allocations: 0 / 0.7158 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/2.216, allocations: 0 / 0.7158 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/2.216, allocations: 0 / 0.7158 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/2.216, allocations: 209.2 kB / 0.716 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/2.216, allocations: 0 / 0.716 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/2.216, allocations: 4.562 kB / 0.716 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/2.217, allocations: 71.22 kB / 0.716 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/2.217, allocations: 4 kB / 0.716 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004935/2.217, allocations: 0.5609 MB / 0.7166 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/2.217, allocations: 4.969 kB / 0.7166 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/2.217, allocations: 133.8 kB / 0.7167 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/2.218, allocations: 35.84 kB / 0.7168 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/2.218, allocations: 4.031 kB / 0.7168 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/2.218, allocations: 11.98 kB / 0.7168 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/2.218, allocations: 4 kB / 0.7168 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/2.218, allocations: 0 / 0.7168 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002569/2.218, allocations: 207.1 kB / 0.717 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/2.218, allocations: 0 / 0.717 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004155/2.222, allocations: 1.465 MB / 0.7184 GB, free: 0.8242 MB / 0.6544 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 (2): * Single equations (assignments): 1 * 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.1699/2.392, allocations: 2.389 MB / 0.7207 GB, free: 291.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004449/2.392, allocations: 100.2 kB / 0.7208 GB, free: 291.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/2.392, allocations: 2.094 kB / 0.7208 GB, free: 291.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.955e-05/2.393, allocations: 35.61 kB / 0.7209 GB, free: 291.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/2.393, allocations: 65.28 kB / 0.7209 GB, free: 291.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/2.394, allocations: 464.7 kB / 0.7214 GB, free: 291.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/2.394, allocations: 170.8 kB / 0.7215 GB, free: 291.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.529e-05/2.394, allocations: 30.91 kB / 0.7216 GB, free: 291.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/2.394, allocations: 23.53 kB / 0.7216 GB, free: 291.4 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/2.394, allocations: 0 / 0.7216 GB, free: 291.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.04737/2.441, allocations: 45.33 MB / 0.7659 GB, free: 251.7 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.496780626475811] Failed to read output from testmodel.py, exit status != 0: 2.5616634376347065 2.570766871 0.537380574 Calling exit ...