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.002348/0.002348, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 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.649/1.649, allocations: 230.6 MB / 252.7 MB, free: 9.824 MB / 202.7 MB " [Timeout remaining time 178] 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.002062/0.002062, allocations: 210.6 kB / 309.2 MB, free: 1.938 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.6585/0.6585, allocations: 107.2 MB / 472.8 MB, free: 9.891 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.04208/0.04208, allocations: 6.304 MB / 0.5492 GB, free: 1.273 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.006281/0.006281, allocations: 126 kB / 0.7254 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3805, allocations: 81.66 MB / 0.8052 GB, free: 33.46 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.003204/0.3837, allocations: 2.903 MB / 0.808 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.3861, allocations: 1.739 MB / 0.8097 GB, free: 30.33 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.3864, allocations: 7.25 kB / 0.8097 GB, free: 30.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009092/0.3873, allocations: 0.5011 MB / 0.8102 GB, free: 30.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.3877, allocations: 243.7 kB / 0.8104 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007568/0.3884, allocations: 345.8 kB / 0.8108 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.3889, allocations: 0.6587 MB / 0.8114 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.3893, allocations: 311 kB / 0.8117 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.3896, allocations: 276.2 kB / 0.812 GB, free: 29.1 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.3899, allocations: 283.5 kB / 0.8122 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.39, allocations: 52.03 kB / 0.8123 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.3904, allocations: 297 kB / 0.8126 GB, free: 28.92 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.3905, allocations: 139.5 kB / 0.8127 GB, free: 28.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3907, allocations: 233.5 kB / 0.8129 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007588/0.3914, allocations: 0.769 MB / 0.8137 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3914, allocations: 0.7969 kB / 0.8137 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3914, allocations: 3.938 kB / 0.8137 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.3914, allocations: 0 / 0.8137 GB, free: 28.4 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.001685/0.3931, allocations: 0.9534 MB / 0.8146 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.3932, allocations: 9.094 kB / 0.8146 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.3937, allocations: 100.1 kB / 0.8147 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.3942, allocations: 379.4 kB / 0.8151 GB, free: 27.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3942, allocations: 25.16 kB / 0.8151 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.3943, allocations: 30.19 kB / 0.8151 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.3948, allocations: 0.6102 MB / 0.8157 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3948, allocations: 0 / 0.8157 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.3949, allocations: 13.78 kB / 0.8157 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3949, allocations: 6 kB / 0.8157 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.3952, allocations: 250.7 kB / 0.816 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.397, allocations: 1.097 MB / 0.817 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.3973, allocations: 223.5 kB / 0.8173 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.3975, allocations: 134.5 kB / 0.8174 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.3976, allocations: 3.156 kB / 0.8174 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3976, allocations: 41.53 kB / 0.8174 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.363e-06/0.3976, allocations: 0 / 0.8174 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0005434/0.3981, allocations: 342.6 kB / 0.8178 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3982, allocations: 294 kB / 0.818 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.3987, allocations: 0.5187 MB / 0.8185 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3987, allocations: 36.77 kB / 0.8186 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3989, allocations: 265.5 kB / 0.8188 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.3989, allocations: 120.8 kB / 0.8189 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.399, allocations: 73.61 kB / 0.819 GB, free: 24.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.3991, allocations: 360.7 kB / 0.8194 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3992, allocations: 86.84 kB / 0.8194 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.3995, allocations: 470.4 kB / 0.8199 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.4011, allocations: 0.5711 MB / 0.8205 GB, free: 23.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4011, allocations: 4 kB / 0.8205 GB, free: 23.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004575/0.4016, allocations: 356.6 kB / 0.8208 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4016, allocations: 6.062 kB / 0.8208 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4016, allocations: 3.344 kB / 0.8208 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4016, allocations: 7.219 kB / 0.8208 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.402, allocations: 97.03 kB / 0.8209 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.402, allocations: 7.312 kB / 0.8209 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.4023, allocations: 42 kB / 0.8209 GB, free: 23.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4023, allocations: 21.84 kB / 0.821 GB, free: 23.41 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.0001568/0.4025, allocations: 162.4 kB / 0.8211 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.4026, allocations: 54.95 kB / 0.8212 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.4031, allocations: 316.1 kB / 0.8215 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4031, allocations: 3.875 kB / 0.8215 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4031, allocations: 0 / 0.8215 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4031, allocations: 1.641 kB / 0.8215 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4042, allocations: 0.8485 MB / 0.8223 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4042, allocations: 3.281 kB / 0.8223 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.4045, allocations: 78.02 kB / 0.8224 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4045, allocations: 14.92 kB / 0.8224 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.4045, allocations: 10.53 kB / 0.8224 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4045, allocations: 3.688 kB / 0.8224 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4045, allocations: 3.312 kB / 0.8224 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.4051, allocations: 0.5678 MB / 0.823 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.4052, allocations: 67.42 kB / 0.823 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.4053, allocations: 17.66 kB / 0.8231 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.4056, allocations: 15.83 kB / 0.8231 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.4057, allocations: 26.77 kB / 0.8231 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4057, allocations: 18.12 kB / 0.8231 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003776/0.4061, allocations: 377.7 kB / 0.8235 GB, free: 21.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.4061, allocations: 0 / 0.8235 GB, free: 21.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005436/0.4066, allocations: 167.9 kB / 0.8236 GB, free: 21.84 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.0003167/0.4069, allocations: 159.8 kB / 0.8238 GB, free: 21.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.4074, allocations: 249.2 kB / 0.824 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4074, allocations: 2.969 kB / 0.824 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.4075, allocations: 107.6 kB / 0.8241 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.4082, allocations: 135 kB / 0.8243 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.4095, allocations: 1.073 MB / 0.8253 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.4097, allocations: 241.1 kB / 0.8255 GB, free: 20.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002608/0.4099, allocations: 70.31 kB / 0.8256 GB, free: 20.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.41, allocations: 44.83 kB / 0.8256 GB, free: 20.7 MB / 0.5261 GB Notification: Performance of SimCode: time 7.02e-07/0.41, allocations: 0 / 0.8256 GB, free: 20.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01523/0.4253, allocations: 9.434 MB / 0.8349 GB, free: 17.47 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Pipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.674415708053857]