Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.499/0.499, allocations: 111.6 MB / 131.5 MB, free: 4.922 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 176.6 MB, free: 8.965 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.303e-05, allocations: 2.312 kB / 176.6 MB, free: 8.961 MB / 170.7 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.083/1.083, allocations: 262.9 MB / 439.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3601/1.443, allocations: 180.9 MB / 0.6058 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/1.444, allocations: 11.94 kB / 0.6058 GB, free: 14.56 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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/PipePressureLoss.mo:26:3-27:80: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/PipePressureLoss.mo:28:3-29:78: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 9.955e-05/1.444, allocations: 47.53 kB / 0.6058 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/1.444, allocations: 126.8 kB / 0.606 GB, free: 14.39 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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:56:5-56:88: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.02175/1.466, allocations: 11.68 MB / 0.6174 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004466/1.466, allocations: 414.5 kB / 0.6178 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/1.466, allocations: 180.2 kB / 0.6179 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/1.467, allocations: 247.4 kB / 0.6182 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/1.467, allocations: 115.7 kB / 0.6183 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/1.467, allocations: 35.94 kB / 0.6183 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02464/1.491, allocations: 18.63 MB / 0.6365 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/1.491, allocations: 87.67 kB / 0.6366 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/1.492, allocations: 131.7 kB / 0.6367 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01928/1.511, allocations: 12.2 MB / 0.6486 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.511, allocations: 0 / 0.6486 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/1.511, allocations: 0 / 0.6486 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.511, allocations: 0 / 0.6486 GB, free: 2.59 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.005642/1.516, allocations: 1.75 MB / 0.6503 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.517, allocations: 19.98 kB / 0.6504 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/1.517, allocations: 51.95 kB / 0.6504 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/1.517, allocations: 243.9 kB / 0.6506 GB, free: 480 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/1.517, allocations: 21 kB / 0.6507 GB, free: 460 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/1.517, allocations: 36 kB / 0.6507 GB, free: 424 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/1.517, allocations: 294.4 kB / 0.651 GB, free: 100 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.517, allocations: 3.938 kB / 0.651 GB, free: 96 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/1.517, allocations: 15.94 kB / 0.651 GB, free: 80 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/1.517, allocations: 8 kB / 0.651 GB, free: 72 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/1.518, allocations: 107.2 kB / 0.6511 GB, free: 15.96 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006319/1.524, allocations: 3.353 MB / 0.6544 GB, free: 12.58 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/1.524, allocations: 51.27 kB / 0.6544 GB, free: 12.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/1.524, allocations: 12.86 kB / 0.6544 GB, free: 12.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3327/1.857, allocations: 60.8 MB / 0.7138 GB, free: 94.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.857, allocations: 30.56 kB / 0.7139 GB, free: 94.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/1.857, allocations: 2.156 kB / 0.7139 GB, free: 94.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004637/1.858, allocations: 132.4 kB / 0.714 GB, free: 94.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/1.858, allocations: 58.09 kB / 0.714 GB, free: 94.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/1.858, allocations: 276.7 kB / 0.7143 GB, free: 94.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/1.858, allocations: 25.7 kB / 0.7143 GB, free: 94.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/1.858, allocations: 229.8 kB / 0.7145 GB, free: 94.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/1.858, allocations: 32.41 kB / 0.7146 GB, free: 94.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/1.858, allocations: 58.2 kB / 0.7146 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/1.858, allocations: 336.2 kB / 0.715 GB, free: 94.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/1.858, allocations: 20.42 kB / 0.715 GB, free: 94.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/1.858, allocations: 114 kB / 0.7151 GB, free: 94.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/1.858, allocations: 155.2 kB / 0.7152 GB, free: 93.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.858, allocations: 1.922 kB / 0.7152 GB, free: 93.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002611/1.858, allocations: 185.9 kB / 0.7154 GB, free: 93.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.858, allocations: 9.156 kB / 0.7154 GB, free: 93.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.858, allocations: 5.547 kB / 0.7154 GB, free: 93.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/1.859, allocations: 73.22 kB / 0.7155 GB, free: 93.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/1.859, allocations: 36.06 kB / 0.7155 GB, free: 93.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002055/1.859, allocations: 0.5499 MB / 0.7161 GB, free: 93.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/1.859, allocations: 26.53 kB / 0.7161 GB, free: 93.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/1.859, allocations: 8.656 kB / 0.7161 GB, free: 93.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (pipePressureLoss.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,pipePressureLoss.fluid,PuitsP1.fluid,SourceP1.C.ftype) * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.379e-05/1.859, allocations: 127.8 kB / 0.7162 GB, free: 93.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/1.859, allocations: 22.62 kB / 0.7162 GB, free: 93.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/1.86, allocations: 128.2 kB / 0.7164 GB, free: 93.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/1.86, allocations: 1.781 kB / 0.7164 GB, free: 93.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.86, allocations: 3.406 kB / 0.7164 GB, free: 93.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.86, allocations: 1.562 kB / 0.7164 GB, free: 93.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/1.86, allocations: 142.4 kB / 0.7165 GB, free: 93.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.86, allocations: 0 / 0.7165 GB, free: 93.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/1.86, allocations: 4.547 kB / 0.7165 GB, free: 93.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/1.86, allocations: 57.44 kB / 0.7166 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/1.86, allocations: 3.547 kB / 0.7166 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001556/1.86, allocations: 0.5536 MB / 0.7171 GB, free: 92.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/1.86, allocations: 1.094 kB / 0.7171 GB, free: 92.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/1.86, allocations: 120 kB / 0.7172 GB, free: 92.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/1.86, allocations: 34.8 kB / 0.7173 GB, free: 92.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/1.86, allocations: 5.609 kB / 0.7173 GB, free: 92.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.721e-05/1.86, allocations: 2.719 kB / 0.7173 GB, free: 92.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/1.86, allocations: 5.609 kB / 0.7173 GB, free: 92.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/1.86, allocations: 3.328 kB / 0.7173 GB, free: 92.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.953e-05/1.86, allocations: 95.38 kB / 0.7174 GB, free: 92.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/1.86, allocations: 0 / 0.7174 GB, free: 92.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003352/1.864, allocations: 1.471 MB / 0.7188 GB, free: 92.52 MB / 0.6198 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004457/1.868, allocations: 2.55 MB / 0.7213 GB, free: 92.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001858/1.868, allocations: 95.98 kB / 0.7214 GB, free: 92.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.868, allocations: 3.688 kB / 0.7214 GB, free: 92.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/1.868, allocations: 25.75 kB / 0.7214 GB, free: 92.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/1.869, allocations: 66.31 kB / 0.7215 GB, free: 92.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008527/1.87, allocations: 0.5026 MB / 0.722 GB, free: 92.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/1.87, allocations: 91.17 kB / 0.722 GB, free: 92.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.131e-05/1.87, allocations: 31.92 kB / 0.7221 GB, free: 92.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/1.87, allocations: 95.03 kB / 0.7222 GB, free: 91.97 MB / 0.6198 GB Notification: Performance of SimCode: time 8.51e-07/1.87, allocations: 0 / 0.7222 GB, free: 91.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.04331/1.913, allocations: 53.7 MB / 0.7746 GB, free: 73.62 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7649758299812675]