Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.Pipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 100.3 kB / 19.71 MB, free: 440 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.05/1.05, allocations: 230.6 MB / 253.4 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 208.7 kB / 310 MB, free: 1.926 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4017/0.4017, allocations: 107.2 MB / 473.6 MB, free: 9.898 MB / 330.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.04127/0.04127, allocations: 6.304 MB / 0.5499 GB, free: 1.277 MB / 410.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHPL.Examples.Pipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Pipes") translateModel(OpenHPL.Examples.Pipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Pipes") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package OpenIPSL of version 3.0.0. OpenIPSL 3.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003401/0.003401, allocations: 131.8 kB / 0.7254 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3965, allocations: 81.65 MB / 0.8051 GB, free: 32.99 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.002709/0.3992, allocations: 2.91 MB / 0.808 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.4014, allocations: 1.734 MB / 0.8097 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.4017, allocations: 7.125 kB / 0.8097 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008761/0.4026, allocations: 0.5051 MB / 0.8102 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.403, allocations: 241.7 kB / 0.8104 GB, free: 29.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.4039, allocations: 337.3 kB / 0.8107 GB, free: 29.26 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.4044, allocations: 0.6569 MB / 0.8114 GB, free: 28.93 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005016/0.4049, allocations: 306.6 kB / 0.8116 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.4052, allocations: 280.7 kB / 0.8119 GB, free: 28.63 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.4055, allocations: 291.7 kB / 0.8122 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.4055, allocations: 50.94 kB / 0.8122 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.4059, allocations: 293.2 kB / 0.8125 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.406, allocations: 123.7 kB / 0.8126 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.4061, allocations: 246.9 kB / 0.8129 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.4067, allocations: 0.771 MB / 0.8136 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.4067, allocations: 3.125 kB / 0.8136 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4067, allocations: 0 / 0.8136 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.4067, allocations: 0 / 0.8136 GB, free: 27.94 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001156/0.4079, allocations: 0.9489 MB / 0.8146 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4079, allocations: 12.16 kB / 0.8146 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.4082, allocations: 99.75 kB / 0.8147 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.4087, allocations: 386.1 kB / 0.815 GB, free: 26.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4087, allocations: 28.38 kB / 0.8151 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.4087, allocations: 27.94 kB / 0.8151 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.4092, allocations: 0.6104 MB / 0.8157 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4092, allocations: 4 kB / 0.8157 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.4092, allocations: 10.72 kB / 0.8157 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4092, allocations: 7.203 kB / 0.8157 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.4095, allocations: 253.1 kB / 0.8159 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.4109, allocations: 1.092 MB / 0.817 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.4112, allocations: 219.6 kB / 0.8172 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.4114, allocations: 144.8 kB / 0.8174 GB, free: 25.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.4115, allocations: 3.188 kB / 0.8174 GB, free: 25.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4115, allocations: 38.38 kB / 0.8174 GB, free: 25.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 3.166e-06/0.4115, allocations: 0 / 0.8174 GB, free: 25.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0005048/0.412, allocations: 343.4 kB / 0.8177 GB, free: 25.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.4121, allocations: 287 kB / 0.818 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.4125, allocations: 0.5196 MB / 0.8185 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4126, allocations: 32.67 kB / 0.8185 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.4127, allocations: 268.2 kB / 0.8188 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.4127, allocations: 124.1 kB / 0.8189 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.4128, allocations: 72.44 kB / 0.819 GB, free: 24.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.4129, allocations: 367.7 kB / 0.8193 GB, free: 23.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.413, allocations: 83.25 kB / 0.8194 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.4132, allocations: 469.5 kB / 0.8199 GB, free: 23.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.4143, allocations: 0.5768 MB / 0.8204 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4143, allocations: 0 / 0.8204 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003783/0.4147, allocations: 364.6 kB / 0.8208 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4147, allocations: 14.31 kB / 0.8208 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4147, allocations: 3.188 kB / 0.8208 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4147, allocations: 4.844 kB / 0.8208 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.4149, allocations: 92.45 kB / 0.8209 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.4149, allocations: 6.922 kB / 0.8209 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.4151, allocations: 41.38 kB / 0.8209 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.4151, allocations: 13.59 kB / 0.8209 GB, free: 22.95 MB / 0.5261 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: Upstream.h = Upstream.h_0 Downstream.h = Downstream.h_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.4153, allocations: 161.5 kB / 0.8211 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.4153, allocations: 61.05 kB / 0.8212 GB, free: 22.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.4157, allocations: 311.8 kB / 0.8214 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4157, allocations: 2.812 kB / 0.8215 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4157, allocations: 4.594 kB / 0.8215 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4157, allocations: 1.5 kB / 0.8215 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.4166, allocations: 0.8425 MB / 0.8223 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4166, allocations: 3.406 kB / 0.8223 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.4168, allocations: 79.48 kB / 0.8224 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4168, allocations: 7.031 kB / 0.8224 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4168, allocations: 14.91 kB / 0.8224 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.4168, allocations: 3.453 kB / 0.8224 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4168, allocations: 2.969 kB / 0.8224 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.4173, allocations: 0.5764 MB / 0.8229 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.4173, allocations: 64.11 kB / 0.823 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.4174, allocations: 15.58 kB / 0.823 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.4176, allocations: 14.89 kB / 0.823 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.4176, allocations: 28.58 kB / 0.8231 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4176, allocations: 13.86 kB / 0.8231 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002997/0.4179, allocations: 376.3 kB / 0.8234 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.4179, allocations: 0 / 0.8234 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004316/0.4184, allocations: 166.3 kB / 0.8236 GB, free: 21.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (pipeExpanding.mdot,pipeConstant.mdot,pipeContracting.mdot) * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000285/0.4186, allocations: 174.4 kB / 0.8238 GB, free: 21.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.419, allocations: 241.7 kB / 0.824 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.419, allocations: 0 / 0.824 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.4191, allocations: 115.5 kB / 0.8241 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4196, allocations: 132.3 kB / 0.8242 GB, free: 21.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.4207, allocations: 1.103 MB / 0.8253 GB, free: 20.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.4208, allocations: 238.3 kB / 0.8255 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/0.4209, allocations: 48.75 kB / 0.8256 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/0.4209, allocations: 0 / 0.8256 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.009908/0.4308, allocations: 7.425 MB / 0.8328 GB, free: 18.12 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.Pipes.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.Pipes.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Pipes.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Pipes.pipe >> ../files/OpenHPL_OpenHPL.Examples.Pipes.sim & ./OpenHPL_OpenHPL.Examples.Pipes > OpenHPL_OpenHPL.Examples.Pipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.897661627735943]