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.000911/0.000911, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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 0.945/0.945, allocations: 177.2 MB / 200 MB, free: 5.547 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.001257/0.001257, allocations: 172.3 kB / 256.6 MB, free: 13.01 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.3154/0.3154, allocations: 80.24 MB / 393.4 MB, free: 2.176 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.02829/0.02829, allocations: 4.8 MB / 481.5 MB, free: 4.152 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.804e-06/1.804e-06, allocations: 0 / 0.5674 GB, free: 476 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.171e-05/3.351e-05, allocations: 14.05 kB / 0.5674 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.005889/0.005922, allocations: 4.216 MB / 0.5715 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003948/0.00987, allocations: 2.744 MB / 0.5742 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.01026, allocations: 15.88 kB / 0.5742 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.01208, allocations: 1.9 MB / 0.5761 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.01328, allocations: 0.9219 MB / 0.577 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.01442, allocations: 0.514 MB / 0.5775 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.01583, allocations: 1.261 MB / 0.5787 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.01667, allocations: 0.511 MB / 0.5792 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007958/0.01746, allocations: 0.7249 MB / 0.5799 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000938/0.0184, allocations: 0.9024 MB / 0.5808 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.01855, allocations: 72 kB / 0.5808 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.01908, allocations: 359.4 kB / 0.5812 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.01931, allocations: 340.6 kB / 0.5815 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.01961, allocations: 318.8 kB / 0.5818 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.02069, allocations: 1.086 MB / 0.5829 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.02069, allocations: 0 / 0.5829 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.405e-06/0.02069, allocations: 3.938 kB / 0.5829 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.02071, allocations: 3.984 kB / 0.5829 GB, free: 0.4922 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.002289/0.023, allocations: 1.896 MB / 0.5847 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.02305, allocations: 12.03 kB / 0.5847 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.02361, allocations: 251.8 kB / 0.585 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007852/0.0244, allocations: 0.6982 MB / 0.5857 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.02443, allocations: 33.38 kB / 0.5857 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.0245, allocations: 56.36 kB / 0.5858 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.02513, allocations: 0.7088 MB / 0.5864 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.02514, allocations: 3.938 kB / 0.5865 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.02518, allocations: 20 kB / 0.5865 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.0252, allocations: 12 kB / 0.5865 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.02552, allocations: 208.6 kB / 0.5867 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.02747, allocations: 2.079 MB / 0.5887 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.02794, allocations: 345 kB / 0.589 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.02811, allocations: 137.6 kB / 0.5892 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.02814, allocations: 16 kB / 0.5892 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.02842, allocations: 230.7 kB / 0.5894 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 1.693e-06/0.02842, allocations: 4 kB / 0.5894 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.001883/0.03031, allocations: 1.616 MB / 0.591 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.03042, allocations: 350.1 kB / 0.5913 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.03158, allocations: 1.519 MB / 0.5928 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.03162, allocations: 37.7 kB / 0.5928 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.03202, allocations: 0.6996 MB / 0.5935 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.03212, allocations: 198.4 kB / 0.5937 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.03223, allocations: 112 kB / 0.5938 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.03235, allocations: 0.4926 MB / 0.5943 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.03249, allocations: 81.25 kB / 0.5944 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.03277, allocations: 492.7 kB / 0.5948 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.03311, allocations: 286.9 kB / 0.5951 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.03311, allocations: 4 kB / 0.5951 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005469/0.03365, allocations: 0.4914 MB / 0.5956 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.03367, allocations: 4 kB / 0.5956 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.03368, allocations: 4 kB / 0.5956 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.03369, allocations: 4 kB / 0.5956 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.03408, allocations: 151.8 kB / 0.5958 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.03409, allocations: 4 kB / 0.5958 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.03431, allocations: 40 kB / 0.5958 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.03433, allocations: 19.98 kB / 0.5958 GB, free: 2.5 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.0001608/0.0345, allocations: 194.7 kB / 0.596 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.03461, allocations: 163.1 kB / 0.5962 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.03518, allocations: 0.4892 MB / 0.5966 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.03519, allocations: 11.98 kB / 0.5967 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.03519, allocations: 0 / 0.5967 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.0352, allocations: 7.922 kB / 0.5967 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.03645, allocations: 1.138 MB / 0.5978 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.03645, allocations: 4 kB / 0.5978 GB, free: 428 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.03697, allocations: 199.8 kB / 0.598 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.03697, allocations: 7.984 kB / 0.598 GB, free: 220 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.037, allocations: 12 kB / 0.598 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1835/0.2205, allocations: 5.402 MB / 0.6033 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2205, allocations: 8.656 kB / 0.6033 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2215, allocations: 0.7632 MB / 0.604 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.2217, allocations: 141 kB / 0.6042 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.2219, allocations: 23.5 kB / 0.6042 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.2221, allocations: 21.91 kB / 0.6042 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.2222, allocations: 51.62 kB / 0.6042 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.2223, allocations: 20.42 kB / 0.6043 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008659/0.2231, allocations: 0.9713 MB / 0.6052 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2231, allocations: 0.6562 kB / 0.6052 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006113/0.2238, allocations: 226.5 kB / 0.6054 GB, free: 156.5 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.001033/0.2248, allocations: 462 kB / 0.6059 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005107/0.2253, allocations: 298.8 kB / 0.6062 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2253, allocations: 1.312 kB / 0.6062 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.2257, allocations: 225.6 kB / 0.6064 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.2263, allocations: 211.3 kB / 0.6066 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.229, allocations: 2.187 MB / 0.6087 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.2292, allocations: 262.3 kB / 0.609 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003197/0.2295, allocations: 113.4 kB / 0.6091 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.2297, allocations: 81.7 kB / 0.6091 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.963e-06/0.2297, allocations: 0 / 0.6091 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.01914/0.2489, allocations: 13.75 MB / 0.6226 GB, free: 151.8 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: 4.236366507131606]