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.00181/0.00181, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.587/1.587, allocations: 177.2 MB / 199.4 MB, free: 5.945 MB / 186.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.002089/0.002089, allocations: 156 kB / 255.9 MB, free: 13.35 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.5404/0.5404, allocations: 80.26 MB / 392.6 MB, free: 2.426 MB / 314.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.03722/0.03722, allocations: 4.789 MB / 480.6 MB, free: 4.383 MB / 394.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.262e-06/1.262e-06, allocations: 0 / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.706e-05, allocations: 2.281 kB / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.003975/0.004002, allocations: 3.919 MB / 0.6495 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003936/0.007938, allocations: 2.642 MB / 0.6521 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005162/0.008454, allocations: 8.875 kB / 0.6521 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.01069, allocations: 1.857 MB / 0.6539 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.01219, allocations: 0.9219 MB / 0.6548 GB, free: 97.85 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.01357, allocations: 0.5024 MB / 0.6553 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.01501, allocations: 1.264 MB / 0.6565 GB, free: 96.07 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008464/0.01585, allocations: 0.5107 MB / 0.657 GB, free: 95.55 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008859/0.01674, allocations: 0.7247 MB / 0.6577 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007707/0.01751, allocations: 0.9025 MB / 0.6586 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.01764, allocations: 76 kB / 0.6587 GB, free: 93.84 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006959/0.01833, allocations: 355.5 kB / 0.659 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.01857, allocations: 340.6 kB / 0.6593 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.01886, allocations: 318.8 kB / 0.6596 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.02002, allocations: 1.355 MB / 0.661 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.02003, allocations: 3.938 kB / 0.661 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.02003, allocations: 0 / 0.661 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.02004, allocations: 0 / 0.661 GB, free: 91.49 MB / 0.5105 GB 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.002254/0.02229, allocations: 1.744 MB / 0.6627 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.02234, allocations: 11.97 kB / 0.6627 GB, free: 89.67 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007378/0.02307, allocations: 219.8 kB / 0.6629 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.02382, allocations: 0.6947 MB / 0.6636 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.02385, allocations: 37.38 kB / 0.6636 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.02392, allocations: 44.38 kB / 0.6637 GB, free: 88.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.02465, allocations: 0.773 MB / 0.6644 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.02467, allocations: 3.938 kB / 0.6644 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.02472, allocations: 28 kB / 0.6644 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.02473, allocations: 12 kB / 0.6645 GB, free: 87.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.02529, allocations: 360.5 kB / 0.6648 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.0275, allocations: 1.778 MB / 0.6665 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.02821, allocations: 453.5 kB / 0.667 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.0285, allocations: 186.5 kB / 0.6671 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.02853, allocations: 4 kB / 0.6671 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/0.02896, allocations: 292.5 kB / 0.6674 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 2.394e-06/0.02896, allocations: 0 / 0.6674 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.002742/0.0317, allocations: 1.895 MB / 0.6693 GB, free: 82.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/0.03179, allocations: 350.1 kB / 0.6696 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.03341, allocations: 2.086 MB / 0.6716 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.03345, allocations: 37.7 kB / 0.6717 GB, free: 80.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.03381, allocations: 0.6171 MB / 0.6723 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.752e-05/0.0339, allocations: 190.5 kB / 0.6725 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.03404, allocations: 110.3 kB / 0.6726 GB, free: 79.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.0341, allocations: 330 kB / 0.6729 GB, free: 78.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.03439, allocations: 161.2 kB / 0.673 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.03476, allocations: 0.5228 MB / 0.6736 GB, free: 78.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.03536, allocations: 422.9 kB / 0.674 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.03536, allocations: 0 / 0.674 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008869/0.03625, allocations: 0.6254 MB / 0.6746 GB, free: 76.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.03627, allocations: 8 kB / 0.6746 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.03628, allocations: 3.938 kB / 0.6746 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.0363, allocations: 12.06 kB / 0.6746 GB, free: 76.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.03699, allocations: 155.8 kB / 0.6747 GB, free: 76.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.037, allocations: 11.92 kB / 0.6747 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.03747, allocations: 23.98 kB / 0.6748 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.0375, allocations: 20 kB / 0.6748 GB, free: 76.73 MB / 0.5105 GB 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.0003523/0.03786, allocations: 377.5 kB / 0.6752 GB, free: 76.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.03798, allocations: 147.1 kB / 0.6753 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009822/0.03896, allocations: 0.65 MB / 0.6759 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.03897, allocations: 8 kB / 0.6759 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.03897, allocations: 0 / 0.6759 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.03898, allocations: 4 kB / 0.6759 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.04053, allocations: 1.046 MB / 0.677 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.04054, allocations: 4 kB / 0.677 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009921/0.04153, allocations: 207.9 kB / 0.6772 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.04154, allocations: 4 kB / 0.6772 GB, free: 74.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.04157, allocations: 12 kB / 0.6772 GB, free: 74.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.04312, allocations: 3.784 MB / 0.6809 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.04313, allocations: 12.03 kB / 0.6809 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.04438, allocations: 0.9309 MB / 0.6818 GB, free: 69.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.04459, allocations: 143 kB / 0.6819 GB, free: 69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.04469, allocations: 19.94 kB / 0.6819 GB, free: 68.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.04516, allocations: 27.92 kB / 0.682 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.04527, allocations: 43.92 kB / 0.682 GB, free: 68.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.04531, allocations: 19.98 kB / 0.682 GB, free: 68.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001252/0.04656, allocations: 1.538 MB / 0.6835 GB, free: 67.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04656, allocations: 0 / 0.6835 GB, free: 67.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006773/0.04724, allocations: 223.8 kB / 0.6837 GB, free: 67.14 MB / 0.5105 GB 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.002993/0.05023, allocations: 0.5122 MB / 0.6842 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008419/0.05107, allocations: 415.5 kB / 0.6846 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.05108, allocations: 4 kB / 0.6846 GB, free: 66.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006736/0.05175, allocations: 283.9 kB / 0.6849 GB, free: 66.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009568/0.05271, allocations: 192.6 kB / 0.6851 GB, free: 65.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.05539, allocations: 2.607 MB / 0.6877 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.05581, allocations: 0.5972 MB / 0.6882 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003984/0.0562, allocations: 105.4 kB / 0.6883 GB, free: 62.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.05641, allocations: 84.44 kB / 0.6884 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/0.05642, allocations: 0 / 0.6884 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.01923/0.07565, allocations: 12.74 MB / 0.7009 GB, free: 49.99 MB / 0.5105 GB " [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: 6.797477461397648]