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.0009498/0.0009498, allocations: 80.81 kB / 20.8 MB, free: 3.656 MB / 18.57 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.9517/0.9517, allocations: 177.1 MB / 201.2 MB, free: 5.664 MB / 186.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.001256/0.001256, allocations: 156.5 kB / 257.9 MB, free: 12.95 MB / 250.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.4135/0.4135, allocations: 80.23 MB / 341.4 MB, free: 9.59 MB / 314.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.02003/0.02003, allocations: 4.798 MB / 376.2 MB, free: 7.094 MB / 346.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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 396 MB, free: 3.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.371e-05, allocations: 2.312 kB / 396 MB, free: 3.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Pipes): time 0.003604/0.003628, allocations: 3.168 MB / 399.1 MB, free: 184 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.006232, allocations: 1.857 MB / 401 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.006433, allocations: 11.94 kB / 401 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.007236, allocations: 0.5517 MB / 401.5 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.007666, allocations: 250.1 kB / 401.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.008403, allocations: 342.9 kB / 402.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.008995, allocations: 0.6835 MB / 402.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000495/0.00949, allocations: 338.2 kB / 403.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.009905, allocations: 379 kB / 403.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.01017, allocations: 247.2 kB / 403.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.01022, allocations: 56 kB / 403.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.0107, allocations: 299.4 kB / 404.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.0108, allocations: 135.4 kB / 404.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.01093, allocations: 199.4 kB / 404.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.01167, allocations: 0.654 MB / 405.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01167, allocations: 0 / 405.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01167, allocations: 0 / 405.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.01168, allocations: 0 / 405.1 MB, free: 10.19 MB / 378.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.001028/0.01271, allocations: 0.9166 MB / 406 MB, free: 9.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.01274, allocations: 8.031 kB / 406 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.01307, allocations: 108.8 kB / 406.1 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.01339, allocations: 304.4 kB / 406.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.01341, allocations: 25.03 kB / 406.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.01345, allocations: 36.38 kB / 406.5 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.01391, allocations: 0.5131 MB / 407 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01392, allocations: 8.125 kB / 407 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.01394, allocations: 20.31 kB / 407 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.01395, allocations: 19.92 kB / 407 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.01409, allocations: 99.12 kB / 407.1 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009448/0.01503, allocations: 0.7897 MB / 407.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.01519, allocations: 126.4 kB / 408 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/0.01529, allocations: 72.8 kB / 408.1 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.01531, allocations: 12 kB / 408.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.01533, allocations: 38.55 kB / 408.2 MB, free: 6.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.01533, allocations: 0 / 408.2 MB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.000235/0.01557, allocations: 177.5 kB / 408.3 MB, free: 6.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.01568, allocations: 290.7 kB / 408.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.01597, allocations: 439.1 kB / 409 MB, free: 5.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.01599, allocations: 37.7 kB / 409.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.01608, allocations: 213.7 kB / 409.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.01613, allocations: 111 kB / 409.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.01621, allocations: 86.09 kB / 409.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.0163, allocations: 362.7 kB / 409.8 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.01635, allocations: 36.84 kB / 409.9 MB, free: 5.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.0168, allocations: 403.2 kB / 410.3 MB, free: 4.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.01705, allocations: 266.8 kB / 410.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01705, allocations: 0 / 410.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002086/0.01726, allocations: 209.3 kB / 410.7 MB, free: 4.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.01728, allocations: 8 kB / 410.7 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.01728, allocations: 4 kB / 410.7 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.0173, allocations: 7.938 kB / 410.7 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.01761, allocations: 135 kB / 410.9 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.01762, allocations: 7.938 kB / 410.9 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.0178, allocations: 43.88 kB / 410.9 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.01781, allocations: 12 kB / 410.9 MB, free: 3.844 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 0.0001277/0.01794, allocations: 133.8 kB / 411.1 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.01799, allocations: 47.89 kB / 411.1 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.01824, allocations: 193.6 kB / 411.3 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.01825, allocations: 7.938 kB / 411.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01825, allocations: 4 kB / 411.3 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.01826, allocations: 3.984 kB / 411.3 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006737/0.01893, allocations: 0.5773 MB / 411.9 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.01894, allocations: 11.88 kB / 411.9 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.01914, allocations: 94.97 kB / 412 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.01915, allocations: 4.344 kB / 412 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.01916, allocations: 15.94 kB / 412 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01916, allocations: 4 kB / 412 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01917, allocations: 4 kB / 412 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.01948, allocations: 374.1 kB / 412.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.01955, allocations: 51.59 kB / 412.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.01958, allocations: 19.94 kB / 412.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.01972, allocations: 12 kB / 412.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.01975, allocations: 31.89 kB / 412.5 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.01976, allocations: 8 kB / 412.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.01993, allocations: 208.4 kB / 412.7 MB, free: 1.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01993, allocations: 0 / 412.7 MB, free: 1.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000397/0.02033, allocations: 163.7 kB / 412.9 MB, free: 1.777 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.0002419/0.02057, allocations: 160 kB / 413 MB, free: 1.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.0208, allocations: 177.4 kB / 413.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.02081, allocations: 4 kB / 413.2 MB, free: 1.434 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.02088, allocations: 84.62 kB / 413.3 MB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.02125, allocations: 150.6 kB / 413.4 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.02249, allocations: 0.9273 MB / 414.4 MB, free: 216 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.042e-05/0.02256, allocations: 114 kB / 414.5 MB, free: 84 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.02274, allocations: 76.52 kB / 414.6 MB, free: 4 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.02304, allocations: 205.2 kB / 414.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02304, allocations: 0 / 414.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of Templates: time 0.01249/0.03553, allocations: 9.758 MB / 424.5 MB, free: 6.203 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.1369518181309104]