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.0009363/0.0009363, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002264, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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 0.8735/0.8735, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1376/1.011, allocations: 53.65 MB / 241.9 MB, free: 2.699 MB / 234.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.000767/0.000767, allocations: 152.1 kB / 242.8 MB, free: 1.84 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001792, allocations: 478.7 kB / 243.2 MB, free: 1.391 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.421/0.421, allocations: 89.05 MB / 333 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03936/0.4604, allocations: 30.21 MB / 363.2 MB, free: 3.164 MB / 346.7 MB " [Timeout remaining time 180] 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.02022/0.02022, allocations: 4.797 MB / 368.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002859/0.02308, allocations: 1.915 MB / 370.7 MB, free: 11.9 MB / 362.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.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 372 MB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.36e-05, allocations: 6.25 kB / 372 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.002821/0.002835, allocations: 3.185 MB / 375.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.005005, allocations: 1.854 MB / 377 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.005143, allocations: 3.938 kB / 377 MB, free: 5.523 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.005747, allocations: 0.5712 MB / 377.6 MB, free: 4.949 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.006053, allocations: 246.1 kB / 377.9 MB, free: 4.707 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.006616, allocations: 334.9 kB / 378.2 MB, free: 4.379 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000526/0.007142, allocations: 0.6727 MB / 378.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.007474, allocations: 296.6 kB / 379.1 MB, free: 3.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.007885, allocations: 0.4938 MB / 379.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.008097, allocations: 239.2 kB / 379.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.008151, allocations: 52 kB / 379.9 MB, free: 2.629 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.008463, allocations: 291.5 kB / 380.2 MB, free: 2.344 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.008522, allocations: 87.62 kB / 380.3 MB, free: 2.258 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.008639, allocations: 147.7 kB / 380.4 MB, free: 2.113 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.009095, allocations: 0.5917 MB / 381 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.009108, allocations: 0 / 381 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.009109, allocations: 4 kB / 381 MB, free: 1.516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.009125, allocations: 0 / 381 MB, free: 1.516 MB / 362.7 MB 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.001047/0.01017, allocations: 1.032 MB / 382.1 MB, free: 452 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.603e-05/0.0102, allocations: 12.03 kB / 382.1 MB, free: 440 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.01053, allocations: 189.9 kB / 382.3 MB, free: 232 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.01106, allocations: 300.5 kB / 382.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.01108, allocations: 28.97 kB / 382.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.01112, allocations: 36.38 kB / 382.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.01142, allocations: 0.5169 MB / 383.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01143, allocations: 8.188 kB / 383.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.01145, allocations: 12.38 kB / 383.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.01146, allocations: 15.94 kB / 383.2 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.0116, allocations: 107 kB / 383.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.0125, allocations: 0.7936 MB / 384.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.01265, allocations: 126.4 kB / 384.2 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.01275, allocations: 76.8 kB / 384.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.01277, allocations: 8 kB / 384.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.01279, allocations: 38.55 kB / 384.3 MB, free: 14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.01279, allocations: 0 / 384.3 MB, free: 14 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002338/0.01303, allocations: 183.8 kB / 384.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.01305, allocations: 55.41 kB / 384.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.01332, allocations: 439.2 kB / 385 MB, free: 13.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.01334, allocations: 29.7 kB / 385 MB, free: 13.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.01343, allocations: 209.7 kB / 385.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.01348, allocations: 122.9 kB / 385.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.01355, allocations: 78.16 kB / 385.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.01363, allocations: 362.7 kB / 385.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.01367, allocations: 36.84 kB / 385.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.01384, allocations: 414.4 kB / 386.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.01409, allocations: 255.7 kB / 386.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01409, allocations: 0 / 386.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0001983/0.01429, allocations: 213 kB / 386.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.0143, allocations: 8.312 kB / 386.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01431, allocations: 4 kB / 386.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.01432, allocations: 7.938 kB / 386.7 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.01465, allocations: 148.8 kB / 386.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01466, allocations: 4 kB / 386.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.0148, allocations: 39.72 kB / 386.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.01481, allocations: 15.94 kB / 386.9 MB, free: 11.23 MB / 378.7 MB 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 9.069e-05/0.0149, allocations: 137 kB / 387 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.01495, allocations: 47.89 kB / 387.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.01515, allocations: 197.6 kB / 387.3 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01516, allocations: 4 kB / 387.3 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01516, allocations: 4 kB / 387.3 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01516, allocations: 3.984 kB / 387.3 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.01575, allocations: 0.5895 MB / 387.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01575, allocations: 4 kB / 387.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.01597, allocations: 95.88 kB / 388 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.01603, allocations: 55.53 kB / 388 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.01603, allocations: 4 kB / 388 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.01605, allocations: 12.34 kB / 388 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01605, allocations: 8 kB / 388 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.01606, allocations: 7.938 kB / 388 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.01633, allocations: 381.1 kB / 388.4 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.01638, allocations: 11.94 kB / 388.4 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.01652, allocations: 19.98 kB / 388.4 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.01654, allocations: 23.97 kB / 388.5 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01655, allocations: 8 kB / 388.5 MB, free: 9.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.0167, allocations: 208.4 kB / 388.7 MB, free: 9.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0167, allocations: 7.938 kB / 388.7 MB, free: 9.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.017, allocations: 163.7 kB / 388.8 MB, free: 9.148 MB / 378.7 MB 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.0002098/0.01721, allocations: 156 kB / 389 MB, free: 8.984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.0174, allocations: 153 kB / 389.1 MB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/0.01741, allocations: 12.61 kB / 389.2 MB, free: 8.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.139e-05/0.01748, allocations: 91.14 kB / 389.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.0181, allocations: 190.5 kB / 389.4 MB, free: 8.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.02225, allocations: 0.9528 MB / 390.4 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.486e-05/0.02231, allocations: 114 kB / 390.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.02247, allocations: 72.58 kB / 390.6 MB, free: 7.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.02276, allocations: 221.1 kB / 390.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02276, allocations: 0 / 390.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of Templates: time 0.01096/0.03372, allocations: 10.27 MB / 401.1 MB, free: 13.05 MB / 394.7 MB " [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: 3.106363863684237]