Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.VolumeFlowSource.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.0009358/0.0009358, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9533/0.9533, allocations: 177.2 MB / 200.4 MB, free: 5.375 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.00169/0.00169, allocations: 155.4 kB / 257 MB, free: 12.81 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.4098/0.4098, allocations: 80.23 MB / 340.5 MB, free: 9.559 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.02055/0.02055, allocations: 4.781 MB / 375.3 MB, free: 7.148 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.VolumeFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.VolumeFlowSource") translateModel(OpenHPL.Examples.VolumeFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.VolumeFlowSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 394.9 MB, free: 3.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.318e-05, allocations: 5.406 kB / 394.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.003792/0.003825, allocations: 4.184 MB / 399.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.007273, allocations: 2.785 MB / 401.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.007577, allocations: 15.88 kB / 401.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.009211, allocations: 1.899 MB / 403.8 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009781/0.01019, allocations: 0.918 MB / 404.7 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009267/0.01112, allocations: 0.514 MB / 405.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.01215, allocations: 1.264 MB / 406.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.01268, allocations: 0.5464 MB / 407.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005875/0.01326, allocations: 0.7249 MB / 407.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.01381, allocations: 0.7815 MB / 408.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.01389, allocations: 72 kB / 408.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004222/0.01432, allocations: 359.4 kB / 409 MB, free: 5.395 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.0145, allocations: 340.6 kB / 409.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.01483, allocations: 318.8 kB / 409.6 MB, free: 4.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000822/0.01565, allocations: 1.101 MB / 410.7 MB, free: 3.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01565, allocations: 0 / 410.7 MB, free: 3.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01565, allocations: 0 / 410.7 MB, free: 3.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.01566, allocations: 3.938 kB / 410.7 MB, free: 3.637 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001462/0.01712, allocations: 1.711 MB / 412.5 MB, free: 1.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.01715, allocations: 8.031 kB / 412.5 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.01759, allocations: 188.7 kB / 412.6 MB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.01837, allocations: 0.611 MB / 413.3 MB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.01839, allocations: 37.38 kB / 413.3 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.01845, allocations: 48.38 kB / 413.3 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.019, allocations: 0.6544 MB / 414 MB, free: 192 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.01902, allocations: 7.891 kB / 414 MB, free: 184 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.01904, allocations: 16 kB / 414 MB, free: 168 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.01905, allocations: 12 kB / 414 MB, free: 156 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.01926, allocations: 156.7 kB / 414.2 MB, free: 16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.02052, allocations: 1.26 MB / 415.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.02083, allocations: 313.4 kB / 415.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.02093, allocations: 110.7 kB / 415.9 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.02096, allocations: 8 kB / 415.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.02116, allocations: 215.4 kB / 416.1 MB, free: 14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 1.553e-06/0.02117, allocations: 3.938 kB / 416.1 MB, free: 14 MB / 394.7 MB Notification: Performance of matching and sorting (n=55): time 0.001149/0.02232, allocations: 0.8179 MB / 416.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.02242, allocations: 361.9 kB / 417.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.02323, allocations: 1.314 MB / 418.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.02326, allocations: 37.7 kB / 418.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.02343, allocations: 366.9 kB / 419 MB, free: 10.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.02352, allocations: 186.3 kB / 419.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/0.02362, allocations: 114.2 kB / 419.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.02369, allocations: 329.9 kB / 419.6 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.02377, allocations: 52.11 kB / 419.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/0.02422, allocations: 423.5 kB / 420 MB, free: 9.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.02445, allocations: 240 kB / 420.3 MB, free: 9.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02445, allocations: 0 / 420.3 MB, free: 9.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003158/0.02477, allocations: 311.1 kB / 420.6 MB, free: 9.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.02478, allocations: 11.94 kB / 420.6 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.02479, allocations: 128 / 420.6 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.0248, allocations: 8 kB / 420.6 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.02515, allocations: 151.8 kB / 420.7 MB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.02516, allocations: 7.938 kB / 420.8 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.02535, allocations: 27.95 kB / 420.8 MB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.02538, allocations: 19.92 kB / 420.8 MB, free: 8.957 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.logdata.nextTimeEvent,$whenCondition1,logdata.nextTimeEventScaled,$PRE.logdata.nextTimeEventScaled,logdata.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.000149/0.02552, allocations: 152.5 kB / 420.9 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/0.02561, allocations: 99.83 kB / 421 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.026, allocations: 389.2 kB / 421.4 MB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.026, allocations: 8 kB / 421.4 MB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.026, allocations: 0 / 421.4 MB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.02601, allocations: 3.984 kB / 421.4 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.02687, allocations: 0.7308 MB / 422.2 MB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.02688, allocations: 8 kB / 422.2 MB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.02734, allocations: 203.9 kB / 422.4 MB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.02734, allocations: 4 kB / 422.4 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.02736, allocations: 15.98 kB / 422.4 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.02864, allocations: 3.591 MB / 426 MB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02865, allocations: 11.88 kB / 426 MB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.02912, allocations: 0.5167 MB / 426.5 MB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.02923, allocations: 126.9 kB / 426.6 MB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.02929, allocations: 20 kB / 426.7 MB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.0295, allocations: 23.98 kB / 426.7 MB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.02956, allocations: 43.86 kB / 426.7 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.02958, allocations: 15.98 kB / 426.7 MB, free: 2.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007751/0.03036, allocations: 0.7577 MB / 427.5 MB, free: 1.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03036, allocations: 0 / 427.5 MB, free: 1.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004533/0.03081, allocations: 223.8 kB / 427.7 MB, free: 1.688 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (tail1.m,tail2.m,tail3.m,volumeFlowFiltered.firstOrder.y) * Number of discrete variables: 3 ($whenCondition1,logdata.nextTimeEvent,logdata.nextTimeEventScaled) * Number of discrete states: 2 (logdata.nextTimeEvent,logdata.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.03202, allocations: 0.5926 MB / 428.3 MB, free: 1.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.03234, allocations: 245.2 kB / 428.5 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.03235, allocations: 16 kB / 428.6 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.03264, allocations: 202.4 kB / 428.8 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.03319, allocations: 209.2 kB / 429 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.03548, allocations: 2.116 MB / 431.1 MB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.03567, allocations: 261 kB / 431.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000268/0.03594, allocations: 105.4 kB / 431.4 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.03635, allocations: 269.2 kB / 431.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03635, allocations: 0 / 431.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of Templates: time 0.01677/0.05312, allocations: 13.83 MB / 445.5 MB, free: 72 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.VolumeFlowSource.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe ; mkfifo OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe >> ../files/OpenHPL_OpenHPL.Examples.VolumeFlowSource.sim & ./OpenHPL_OpenHPL.Examples.VolumeFlowSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.416384194046259]