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.0009864/0.0009864, allocations: 84.44 kB / 19.93 MB, free: 4.602 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.9366/0.9366, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.001109/0.001109, allocations: 156.1 kB / 256.7 MB, free: 13.36 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.282/0.282, allocations: 80.26 MB / 393.4 MB, free: 2.449 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.02183/0.02183, allocations: 4.798 MB / 481.4 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.263e-06/1.263e-06, allocations: 0 / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.518e-05, allocations: 5.312 kB / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.002762/0.002777, allocations: 3.904 MB / 0.6495 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.005229, allocations: 2.636 MB / 0.652 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.005495, allocations: 11.94 kB / 0.652 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.0067, allocations: 1.861 MB / 0.6539 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006607/0.007361, allocations: 0.9258 MB / 0.6548 GB, free: 98.64 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.008028, allocations: 0.5074 MB / 0.6553 GB, free: 98.13 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.008567, allocations: 1.257 MB / 0.6565 GB, free: 96.87 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.008976, allocations: 0.5107 MB / 0.657 GB, free: 96.34 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.009369, allocations: 0.7286 MB / 0.6577 GB, free: 95.61 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.009816, allocations: 0.9025 MB / 0.6586 GB, free: 94.71 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.009894, allocations: 72 kB / 0.6587 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.01025, allocations: 347.5 kB / 0.659 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.01038, allocations: 344.6 kB / 0.6593 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.01054, allocations: 318.8 kB / 0.6596 GB, free: 93.65 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006772/0.01122, allocations: 1.363 MB / 0.6609 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01122, allocations: 0 / 0.6609 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01122, allocations: 0 / 0.6609 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.01123, allocations: 3.938 kB / 0.6609 GB, free: 92.28 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.00134/0.01257, allocations: 1.744 MB / 0.6627 GB, free: 90.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.0126, allocations: 12.03 kB / 0.6627 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.013, allocations: 219.8 kB / 0.6629 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.01351, allocations: 0.687 MB / 0.6635 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.01353, allocations: 37.38 kB / 0.6636 GB, free: 89.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.01358, allocations: 48.38 kB / 0.6636 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.01407, allocations: 0.7691 MB / 0.6644 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.01408, allocations: 11.88 kB / 0.6644 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.01411, allocations: 20 kB / 0.6644 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01412, allocations: 12 kB / 0.6644 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.01451, allocations: 364.5 kB / 0.6648 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.01593, allocations: 1.782 MB / 0.6665 GB, free: 86.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.0164, allocations: 450.3 kB / 0.6669 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.01659, allocations: 182.5 kB / 0.6671 GB, free: 85.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.01661, allocations: 8 kB / 0.6671 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.01689, allocations: 288.5 kB / 0.6674 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 1.603e-06/0.01689, allocations: 0 / 0.6674 GB, free: 85.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.001791/0.01868, allocations: 1.903 MB / 0.6693 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.01873, allocations: 350.1 kB / 0.6696 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.01984, allocations: 2.09 MB / 0.6716 GB, free: 80.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.01987, allocations: 37.7 kB / 0.6717 GB, free: 80.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.02011, allocations: 0.6055 MB / 0.6723 GB, free: 80.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.02017, allocations: 194.4 kB / 0.6724 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.02026, allocations: 114.3 kB / 0.6725 GB, free: 79.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.0203, allocations: 326 kB / 0.6729 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.02049, allocations: 161.2 kB / 0.673 GB, free: 79.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.02074, allocations: 0.5152 MB / 0.6735 GB, free: 78.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.02117, allocations: 431.9 kB / 0.6739 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02117, allocations: 0 / 0.6739 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005573/0.02173, allocations: 0.6189 MB / 0.6745 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.02175, allocations: 7.984 kB / 0.6745 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.02175, allocations: 7.938 kB / 0.6745 GB, free: 77.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.02177, allocations: 4 kB / 0.6746 GB, free: 77.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.02213, allocations: 160 kB / 0.6747 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.02213, allocations: 15.86 kB / 0.6747 GB, free: 77.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.02235, allocations: 31.88 kB / 0.6747 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.02237, allocations: 23.98 kB / 0.6748 GB, free: 77.51 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.0002399/0.02261, allocations: 376.2 kB / 0.6751 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.02269, allocations: 147 kB / 0.6753 GB, free: 76.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.0233, allocations: 0.6461 MB / 0.6759 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.0233, allocations: 4 kB / 0.6759 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.02331, allocations: 4 kB / 0.6759 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.02332, allocations: 3.984 kB / 0.6759 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009704/0.02429, allocations: 1.038 MB / 0.6769 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.02429, allocations: 4 kB / 0.6769 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.02477, allocations: 207.9 kB / 0.6771 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.02478, allocations: 4 kB / 0.6771 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.0248, allocations: 19.98 kB / 0.6772 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008644/0.02566, allocations: 3.788 MB / 0.6809 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02567, allocations: 0 / 0.6809 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/0.02643, allocations: 0.9389 MB / 0.6818 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.02653, allocations: 135 kB / 0.6819 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.02659, allocations: 19.94 kB / 0.6819 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.02681, allocations: 23.98 kB / 0.6819 GB, free: 69.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.02688, allocations: 51.84 kB / 0.682 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.0269, allocations: 16 kB / 0.682 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008049/0.02771, allocations: 1.538 MB / 0.6835 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02771, allocations: 0 / 0.6835 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003845/0.02809, allocations: 227.8 kB / 0.6837 GB, free: 67.93 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.001066/0.02916, allocations: 0.5165 MB / 0.6842 GB, free: 67.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005216/0.02968, allocations: 415.4 kB / 0.6846 GB, free: 67.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02968, allocations: 256 / 0.6846 GB, free: 67.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.03011, allocations: 283.5 kB / 0.6849 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.03075, allocations: 196.4 kB / 0.6851 GB, free: 66.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.03263, allocations: 2.637 MB / 0.6877 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.0329, allocations: 0.5831 MB / 0.6882 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.03305, allocations: 72.47 kB / 0.6883 GB, free: 63.38 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.03305, allocations: 0 / 0.6883 GB, free: 63.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.0135/0.04655, allocations: 22.75 MB / 0.7105 GB, free: 40.7 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: 6.682401644997299]