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.0009124/0.0009124, allocations: 88.22 kB / 20.43 MB, free: 4.133 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.9521/0.9521, allocations: 177.1 MB / 200.8 MB, free: 5.531 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.001177/0.001177, allocations: 156.6 kB / 257.4 MB, free: 13 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.2731/0.2731, allocations: 80.23 MB / 394.1 MB, free: 2.16 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.02606/0.02606, allocations: 4.802 MB / 482.3 MB, free: 4.137 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.823e-06/1.823e-06, allocations: 0 / 0.5673 GB, free: 1.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.746e-05, allocations: 2.312 kB / 0.5673 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.006356/0.006384, allocations: 4.227 MB / 0.5715 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005276/0.01166, allocations: 2.744 MB / 0.5742 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005053/0.01217, allocations: 15.88 kB / 0.5742 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003145/0.01531, allocations: 1.9 MB / 0.576 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.01701, allocations: 0.9219 MB / 0.5769 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.0185, allocations: 0.5023 MB / 0.5774 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.02005, allocations: 1.272 MB / 0.5787 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009068/0.02095, allocations: 0.5145 MB / 0.5792 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.02197, allocations: 0.7248 MB / 0.5799 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.02309, allocations: 0.9025 MB / 0.5808 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.02328, allocations: 72 kB / 0.5808 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.02382, allocations: 359.4 kB / 0.5812 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.02402, allocations: 336.6 kB / 0.5815 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.02425, allocations: 318.8 kB / 0.5818 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009005/0.02515, allocations: 1.09 MB / 0.5829 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.02515, allocations: 0 / 0.5829 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.02515, allocations: 4 kB / 0.5829 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.02516, allocations: 0 / 0.5829 GB, free: 1.281 MB / 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.001648/0.02681, allocations: 1.896 MB / 0.5847 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.02684, allocations: 8.031 kB / 0.5847 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004955/0.02734, allocations: 251.8 kB / 0.585 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.02793, allocations: 0.6943 MB / 0.5856 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.02796, allocations: 41.36 kB / 0.5857 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.02802, allocations: 56.31 kB / 0.5857 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.02856, allocations: 0.7049 MB / 0.5864 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.02858, allocations: 3.938 kB / 0.5864 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.02861, allocations: 24 kB / 0.5864 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.02862, allocations: 12 kB / 0.5865 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.02894, allocations: 208.6 kB / 0.5867 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.03064, allocations: 2.079 MB / 0.5887 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.03108, allocations: 343.6 kB / 0.589 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.03124, allocations: 138.9 kB / 0.5891 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.03127, allocations: 8 kB / 0.5892 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.03154, allocations: 242.7 kB / 0.5894 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 1.473e-06/0.03154, allocations: 0 / 0.5894 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.001671/0.03321, allocations: 1.629 MB / 0.591 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.03331, allocations: 342.1 kB / 0.5913 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.03436, allocations: 1.516 MB / 0.5928 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.03439, allocations: 37.7 kB / 0.5928 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.03476, allocations: 0.6996 MB / 0.5935 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.545e-05/0.03486, allocations: 202.4 kB / 0.5937 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.03496, allocations: 112 kB / 0.5938 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.03507, allocations: 0.4965 MB / 0.5943 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.0352, allocations: 77.25 kB / 0.5944 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.03548, allocations: 492.7 kB / 0.5948 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.03581, allocations: 280.2 kB / 0.5951 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.03582, allocations: 0 / 0.5951 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005194/0.03633, allocations: 0.4987 MB / 0.5956 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.03635, allocations: 8 kB / 0.5956 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.03635, allocations: 0 / 0.5956 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.03637, allocations: 4 kB / 0.5956 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.03675, allocations: 151.8 kB / 0.5957 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.03676, allocations: 7.938 kB / 0.5957 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.03697, allocations: 27.94 kB / 0.5958 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.037, allocations: 28.11 kB / 0.5958 GB, free: 3.289 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.0001577/0.03716, allocations: 200.3 kB / 0.596 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.03727, allocations: 163.1 kB / 0.5961 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005478/0.03782, allocations: 489.4 kB / 0.5966 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.03782, allocations: 8 kB / 0.5966 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.03783, allocations: 0 / 0.5966 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.03783, allocations: 3.984 kB / 0.5966 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.03893, allocations: 1.138 MB / 0.5977 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.03894, allocations: 4 kB / 0.5977 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.03945, allocations: 207.9 kB / 0.5979 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.03946, allocations: 4 kB / 0.5979 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.03948, allocations: 12 kB / 0.598 GB, free: 1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1383/0.1778, allocations: 5.408 MB / 0.6032 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1778, allocations: 3.656 kB / 0.6032 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.1787, allocations: 0.7753 MB / 0.604 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.1788, allocations: 136.1 kB / 0.6041 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.1789, allocations: 17.58 kB / 0.6041 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.1791, allocations: 21.88 kB / 0.6042 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.1792, allocations: 47.08 kB / 0.6042 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.1793, allocations: 22.88 kB / 0.6042 GB, free: 157 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007279/0.18, allocations: 0.9743 MB / 0.6052 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.18, allocations: 1.875 kB / 0.6052 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005376/0.1805, allocations: 224.8 kB / 0.6054 GB, free: 156.8 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.0008728/0.1814, allocations: 464.5 kB / 0.6058 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.1819, allocations: 302.6 kB / 0.6061 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1819, allocations: 1.125 kB / 0.6061 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.1823, allocations: 233.5 kB / 0.6063 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.1829, allocations: 208.9 kB / 0.6065 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.1854, allocations: 2.22 MB / 0.6087 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.1859, allocations: 0.5515 MB / 0.6093 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.186, allocations: 73.11 kB / 0.6093 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/0.186, allocations: 0 / 0.6093 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.01901/0.205, allocations: 22.76 MB / 0.6315 GB, free: 145.4 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 > OpenHPL_OpenHPL.Examples.VolumeFlowSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0384611482732]