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.0009394/0.0009394, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.9221/0.9221, allocations: 177.2 MB / 201 MB, free: 5.695 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.001112/0.001112, allocations: 156.6 kB / 257.7 MB, free: 12.97 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.2849/0.2849, allocations: 80.24 MB / 394.5 MB, free: 1.973 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.0203/0.0203, allocations: 4.805 MB / 482.6 MB, free: 3.953 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.393e-06/1.393e-06, allocations: 0 / 0.5686 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.445e-05, allocations: 6.25 kB / 0.5686 GB, free: 104 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.003799/0.003813, allocations: 4.161 MB / 0.5727 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.006608, allocations: 2.705 MB / 0.5753 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.006818, allocations: 15.88 kB / 0.5754 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.008592, allocations: 1.884 MB / 0.5772 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008129/0.009405, allocations: 0.9258 MB / 0.5781 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.01018, allocations: 0.514 MB / 0.5786 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007699/0.01095, allocations: 1.261 MB / 0.5798 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.01142, allocations: 0.5149 MB / 0.5803 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.01194, allocations: 0.7248 MB / 0.581 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006177/0.01256, allocations: 0.9102 MB / 0.5819 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.953e-05/0.01264, allocations: 68 kB / 0.582 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.01299, allocations: 355.5 kB / 0.5823 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.01317, allocations: 336.6 kB / 0.5827 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.01363, allocations: 318.8 kB / 0.583 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007983/0.01443, allocations: 1.097 MB / 0.584 GB, free: 248 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.01443, allocations: 0 / 0.584 GB, free: 248 kB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.01443, allocations: 3.938 kB / 0.584 GB, free: 244 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.01444, allocations: 0 / 0.584 GB, free: 244 kB / 0.4948 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.001755/0.01619, allocations: 1.923 MB / 0.5859 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.01623, allocations: 8.031 kB / 0.5859 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.01671, allocations: 255.8 kB / 0.5862 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.01726, allocations: 0.6787 MB / 0.5868 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.01728, allocations: 37.38 kB / 0.5869 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.01734, allocations: 52.38 kB / 0.5869 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.0178, allocations: 0.6775 MB / 0.5876 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01781, allocations: 7.938 kB / 0.5876 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.01784, allocations: 20 kB / 0.5876 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.01785, allocations: 12 kB / 0.5876 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.01807, allocations: 169.1 kB / 0.5878 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.01958, allocations: 1.856 MB / 0.5896 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.02022, allocations: 322.9 kB / 0.5899 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.02033, allocations: 119 kB / 0.59 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.02036, allocations: 8 kB / 0.59 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.02057, allocations: 222.6 kB / 0.5902 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 2.996e-06/0.02057, allocations: 3.984 kB / 0.5902 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.001215/0.02178, allocations: 0.9541 MB / 0.5912 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.02188, allocations: 350 kB / 0.5915 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008908/0.02277, allocations: 1.444 MB / 0.5929 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.0228, allocations: 37.7 kB / 0.593 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.02318, allocations: 0.7384 MB / 0.5937 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.342e-05/0.02328, allocations: 194.3 kB / 0.5939 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.02338, allocations: 115.9 kB / 0.594 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.02348, allocations: 0.4964 MB / 0.5945 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.02357, allocations: 65.25 kB / 0.5945 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.0238, allocations: 472.7 kB / 0.595 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.02404, allocations: 257.4 kB / 0.5952 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.02404, allocations: 0 / 0.5952 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000426/0.02447, allocations: 457.6 kB / 0.5956 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.02448, allocations: 8.125 kB / 0.5957 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.02449, allocations: 4 kB / 0.5957 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.0245, allocations: 4 kB / 0.5957 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.02487, allocations: 155.8 kB / 0.5958 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.02488, allocations: 4 kB / 0.5958 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.02509, allocations: 35.88 kB / 0.5958 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.02511, allocations: 16 kB / 0.5959 GB, free: 3.406 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.0001543/0.02527, allocations: 192.4 kB / 0.596 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.02538, allocations: 167 kB / 0.5962 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/0.0261, allocations: 465.8 kB / 0.5967 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.02611, allocations: 8 kB / 0.5967 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02611, allocations: 0 / 0.5967 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.02612, allocations: 7.922 kB / 0.5967 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000918/0.02703, allocations: 0.9187 MB / 0.5976 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.02704, allocations: 4 kB / 0.5976 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.02754, allocations: 207.9 kB / 0.5978 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.02754, allocations: 4 kB / 0.5978 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.02756, allocations: 15.98 kB / 0.5978 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1533/0.1809, allocations: 5.345 MB / 0.603 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1809, allocations: 4.5 kB / 0.603 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.1817, allocations: 0.7221 MB / 0.6037 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.1818, allocations: 136.2 kB / 0.6038 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.1819, allocations: 25.73 kB / 0.6039 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.1821, allocations: 22.67 kB / 0.6039 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.1822, allocations: 46.19 kB / 0.6039 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.1823, allocations: 18.86 kB / 0.604 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005817/0.1828, allocations: 0.8721 MB / 0.6048 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1828, allocations: 0 / 0.6048 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005446/0.1834, allocations: 224.5 kB / 0.605 GB, free: 161.3 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.0008868/0.1843, allocations: 466.1 kB / 0.6055 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.1846, allocations: 275.9 kB / 0.6057 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1846, allocations: 1.219 kB / 0.6057 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.185, allocations: 214.2 kB / 0.6059 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/0.1856, allocations: 210.9 kB / 0.6061 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.188, allocations: 2.159 MB / 0.6082 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1882, allocations: 261.4 kB / 0.6085 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002892/0.1885, allocations: 109.4 kB / 0.6086 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.189, allocations: 315.9 kB / 0.6089 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/0.189, allocations: 2.5 kB / 0.6089 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.01791/0.2069, allocations: 14.19 MB / 0.6228 GB, free: 156 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: 3.7808817918412387]