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.001026/0.001026, allocations: 93.06 kB / 19.65 MB, free: 280 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 1.072/1.072, allocations: 177.2 MB / 200 MB, free: 5.543 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.001214/0.001214, allocations: 156.6 kB / 256.6 MB, free: 12.98 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.2889/0.2889, allocations: 80.24 MB / 393.4 MB, free: 2.156 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.02241/0.02241, allocations: 4.805 MB / 481.5 MB, free: 4.133 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.883e-06/1.883e-06, allocations: 0 / 0.5674 GB, free: 456 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.445e-05, allocations: 6.25 kB / 0.5674 GB, free: 448 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.004212/0.004236, allocations: 4.216 MB / 0.5715 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003263/0.007499, allocations: 2.744 MB / 0.5742 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.007773, allocations: 15.88 kB / 0.5742 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.009557, allocations: 1.896 MB / 0.5761 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.01067, allocations: 0.9258 MB / 0.577 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.01157, allocations: 0.5101 MB / 0.5775 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008282/0.0124, allocations: 1.265 MB / 0.5787 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005343/0.01293, allocations: 0.5148 MB / 0.5792 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/0.01366, allocations: 0.7249 MB / 0.5799 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006815/0.01434, allocations: 0.9063 MB / 0.5808 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.309e-05/0.01443, allocations: 72 kB / 0.5809 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.01484, allocations: 355.4 kB / 0.5812 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.01504, allocations: 336.7 kB / 0.5815 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.01525, allocations: 318.7 kB / 0.5818 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008871/0.01614, allocations: 1.09 MB / 0.5829 GB, free: 492 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01614, allocations: 0 / 0.5829 GB, free: 492 kB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.01614, allocations: 4 kB / 0.5829 GB, free: 488 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.01615, allocations: 3.938 kB / 0.5829 GB, free: 484 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.001777/0.01793, allocations: 1.9 MB / 0.5847 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.01797, allocations: 12.03 kB / 0.5848 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005345/0.0185, allocations: 251.8 kB / 0.585 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.01914, allocations: 0.6943 MB / 0.5857 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.01918, allocations: 37.38 kB / 0.5857 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.01924, allocations: 48.38 kB / 0.5858 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.01987, allocations: 0.7127 MB / 0.5865 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.01989, allocations: 3.938 kB / 0.5865 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.01993, allocations: 20 kB / 0.5865 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.01994, allocations: 15.98 kB / 0.5865 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.02027, allocations: 204.6 kB / 0.5867 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.02214, allocations: 2.075 MB / 0.5887 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.02262, allocations: 344.4 kB / 0.589 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.02278, allocations: 130.9 kB / 0.5892 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.02281, allocations: 15.94 kB / 0.5892 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.02308, allocations: 234.8 kB / 0.5894 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 1.643e-06/0.02308, allocations: 0 / 0.5894 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.001796/0.02487, allocations: 1.63 MB / 0.591 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.025, allocations: 346.1 kB / 0.5913 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.02612, allocations: 1.523 MB / 0.5928 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.02615, allocations: 37.7 kB / 0.5929 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.02656, allocations: 0.7035 MB / 0.5935 GB, free: 5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.02666, allocations: 194.4 kB / 0.5937 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.02678, allocations: 116 kB / 0.5938 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.0269, allocations: 0.4965 MB / 0.5943 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.02704, allocations: 81.19 kB / 0.5944 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.02735, allocations: 484.8 kB / 0.5949 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.0277, allocations: 283.5 kB / 0.5951 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.0277, allocations: 4 kB / 0.5951 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005551/0.02826, allocations: 0.494 MB / 0.5956 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.02828, allocations: 4 kB / 0.5956 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.02828, allocations: 4 kB / 0.5956 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.0283, allocations: 4 kB / 0.5956 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.02869, allocations: 155.8 kB / 0.5958 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.0287, allocations: 4 kB / 0.5958 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.02892, allocations: 31.89 kB / 0.5958 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.02895, allocations: 24.11 kB / 0.5958 GB, free: 2.48 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.0001723/0.02912, allocations: 196.4 kB / 0.596 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.02925, allocations: 163.1 kB / 0.5962 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006011/0.02985, allocations: 494.2 kB / 0.5967 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.02985, allocations: 7.938 kB / 0.5967 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.02986, allocations: 4 kB / 0.5967 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.02987, allocations: 3.984 kB / 0.5967 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.03116, allocations: 1.134 MB / 0.5978 GB, free: 420 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.03116, allocations: 4 kB / 0.5978 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.03169, allocations: 211.9 kB / 0.598 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.03169, allocations: 0 / 0.598 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.03172, allocations: 19.98 kB / 0.598 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1935/0.2252, allocations: 5.398 MB / 0.6033 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2252, allocations: 4.781 kB / 0.6033 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.2261, allocations: 0.7715 MB / 0.604 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.2263, allocations: 135.8 kB / 0.6042 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.2264, allocations: 20.2 kB / 0.6042 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2266, allocations: 21.56 kB / 0.6042 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.2267, allocations: 50.42 kB / 0.6042 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.2268, allocations: 21.3 kB / 0.6043 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008589/0.2276, allocations: 0.9723 MB / 0.6052 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.2276, allocations: 0 / 0.6052 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005908/0.2282, allocations: 224 kB / 0.6054 GB, free: 160.4 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.0008932/0.2291, allocations: 460.5 kB / 0.6059 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000461/0.2296, allocations: 301.5 kB / 0.6062 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2296, allocations: 0 / 0.6062 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.23, allocations: 235.7 kB / 0.6064 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.2306, allocations: 211.1 kB / 0.6066 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.2333, allocations: 2.185 MB / 0.6087 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.2335, allocations: 262.9 kB / 0.609 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000308/0.2338, allocations: 115.4 kB / 0.6091 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.234, allocations: 77.58 kB / 0.6091 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.234, allocations: 1.125 kB / 0.6092 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.02121/0.2552, allocations: 12.9 MB / 0.6218 GB, free: 155.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.364844288676977]