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.001016/0.001016, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.9771/0.9771, allocations: 177.2 MB / 200.3 MB, free: 5.414 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.001227/0.001227, allocations: 155 kB / 256.9 MB, free: 12.84 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.2727/0.2727, allocations: 80.25 MB / 393.7 MB, free: 1.988 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.02654/0.02654, allocations: 4.79 MB / 481.8 MB, free: 3.582 MB / 346.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.292e-06/1.292e-06, allocations: 0 / 0.5679 GB, free: 96.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.343e-05, allocations: 2.312 kB / 0.5679 GB, free: 96.08 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.003999/0.004013, allocations: 4.17 MB / 0.5719 GB, free: 94.04 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.007692, allocations: 2.707 MB / 0.5746 GB, free: 92.29 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.008156, allocations: 14.91 kB / 0.5746 GB, free: 92.29 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.01008, allocations: 1.89 MB / 0.5764 GB, free: 91.72 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.01132, allocations: 0.9263 MB / 0.5773 GB, free: 91.42 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.01254, allocations: 0.5079 MB / 0.5778 GB, free: 91.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.01406, allocations: 1.256 MB / 0.5791 GB, free: 90.64 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008636/0.01492, allocations: 0.5144 MB / 0.5796 GB, free: 90.39 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.016, allocations: 0.7272 MB / 0.5803 GB, free: 90.14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.01715, allocations: 0.9079 MB / 0.5812 GB, free: 89.94 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.01731, allocations: 71.03 kB / 0.5812 GB, free: 89.94 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005941/0.01791, allocations: 351.1 kB / 0.5816 GB, free: 89.8 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.01812, allocations: 337.5 kB / 0.5819 GB, free: 89.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.01836, allocations: 320.5 kB / 0.5822 GB, free: 89.38 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.01942, allocations: 1.099 MB / 0.5833 GB, free: 88.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.01942, allocations: 4.688 kB / 0.5833 GB, free: 88.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.01942, allocations: 0 / 0.5833 GB, free: 88.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.783e-05/0.01945, allocations: 1.875 kB / 0.5833 GB, free: 88.7 MB / 442.7 MB 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.001945/0.02139, allocations: 1.916 MB / 0.5851 GB, free: 87.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.02143, allocations: 10.22 kB / 0.5852 GB, free: 87.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005778/0.02201, allocations: 252.9 kB / 0.5854 GB, free: 87.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.0226, allocations: 0.6915 MB / 0.5861 GB, free: 86.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.02263, allocations: 37.41 kB / 0.5861 GB, free: 86.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.0227, allocations: 47.38 kB / 0.5862 GB, free: 86.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.02313, allocations: 0.6816 MB / 0.5868 GB, free: 85.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.02315, allocations: 3.938 kB / 0.5868 GB, free: 85.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.02317, allocations: 24.94 kB / 0.5868 GB, free: 85.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.02318, allocations: 12.5 kB / 0.5869 GB, free: 85.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.02342, allocations: 170.9 kB / 0.587 GB, free: 85.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.02494, allocations: 1.859 MB / 0.5888 GB, free: 84.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.02527, allocations: 311.8 kB / 0.5891 GB, free: 84.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.0254, allocations: 115.5 kB / 0.5892 GB, free: 83.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.02542, allocations: 8.875 kB / 0.5893 GB, free: 83.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.02561, allocations: 227.6 kB / 0.5895 GB, free: 83.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 1.322e-06/0.02562, allocations: 0 / 0.5895 GB, free: 83.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=55): time 0.001225/0.02684, allocations: 0.9519 MB / 0.5904 GB, free: 83.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.02689, allocations: 350.1 kB / 0.5907 GB, free: 82.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.0279, allocations: 1.452 MB / 0.5922 GB, free: 81.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.02793, allocations: 36.45 kB / 0.5922 GB, free: 81.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.02824, allocations: 0.7378 MB / 0.5929 GB, free: 81.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/0.02833, allocations: 193.6 kB / 0.5931 GB, free: 81.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.02844, allocations: 118.5 kB / 0.5932 GB, free: 81.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.02849, allocations: 0.4993 MB / 0.5937 GB, free: 80.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.02858, allocations: 59.88 kB / 0.5938 GB, free: 80.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.02875, allocations: 471.2 kB / 0.5942 GB, free: 80.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.029, allocations: 254.3 kB / 0.5944 GB, free: 79.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.029, allocations: 0 / 0.5944 GB, free: 79.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004899/0.02949, allocations: 466.6 kB / 0.5949 GB, free: 79.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.0295, allocations: 5.656 kB / 0.5949 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.02951, allocations: 2.156 kB / 0.5949 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.02952, allocations: 4.062 kB / 0.5949 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.02988, allocations: 160.8 kB / 0.5951 GB, free: 79.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.02988, allocations: 3.469 kB / 0.5951 GB, free: 79.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.0301, allocations: 26.11 kB / 0.5951 GB, free: 79.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.03012, allocations: 19.67 kB / 0.5951 GB, free: 79.58 MB / 442.7 MB 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.0001512/0.03027, allocations: 194.7 kB / 0.5953 GB, free: 79.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.03041, allocations: 167.7 kB / 0.5954 GB, free: 79.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.03086, allocations: 463.4 kB / 0.5959 GB, free: 78.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.03086, allocations: 8 kB / 0.5959 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.03087, allocations: 4.75 kB / 0.5959 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.03087, allocations: 3.984 kB / 0.5959 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008926/0.03177, allocations: 0.9201 MB / 0.5968 GB, free: 77.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.03177, allocations: 5.625 kB / 0.5968 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.03222, allocations: 204.2 kB / 0.597 GB, free: 77.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.03222, allocations: 4 kB / 0.597 GB, free: 77.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.03224, allocations: 16.56 kB / 0.597 GB, free: 77.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009456/0.03319, allocations: 5.364 MB / 0.6023 GB, free: 72.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.03319, allocations: 0 / 0.6023 GB, free: 72.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.03371, allocations: 0.7178 MB / 0.603 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.03381, allocations: 143 kB / 0.6031 GB, free: 71.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.03387, allocations: 19.92 kB / 0.6031 GB, free: 71.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.03408, allocations: 20 kB / 0.6031 GB, free: 71.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.03416, allocations: 52.59 kB / 0.6032 GB, free: 71.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.03419, allocations: 16 kB / 0.6032 GB, free: 71.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005137/0.0347, allocations: 0.8748 MB / 0.6041 GB, free: 70.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0347, allocations: 0 / 0.6041 GB, free: 70.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000571/0.03527, allocations: 223.8 kB / 0.6043 GB, free: 69.96 MB / 442.7 MB 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.001006/0.03628, allocations: 468.4 kB / 0.6047 GB, free: 69.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.0366, allocations: 273.6 kB / 0.605 GB, free: 69.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.0366, allocations: 0 / 0.605 GB, free: 69.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.03691, allocations: 213.4 kB / 0.6052 GB, free: 69.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.03753, allocations: 216.3 kB / 0.6054 GB, free: 69.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.03962, allocations: 2.17 MB / 0.6075 GB, free: 66.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.03976, allocations: 268.9 kB / 0.6078 GB, free: 66.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.04, allocations: 111.3 kB / 0.6079 GB, free: 66.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.04039, allocations: 314 kB / 0.6082 GB, free: 66.16 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.04039, allocations: 0 / 0.6082 GB, free: 66.16 MB / 442.7 MB Notification: Performance of Templates: time 0.01428/0.05467, allocations: 13.88 MB / 0.6217 GB, free: 52.65 MB / 442.7 MB " [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.8340291040949523]