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.001529/0.001529, allocations: 80.88 kB / 20.8 MB, free: 3.66 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.9584/0.9584, allocations: 177.1 MB / 201.2 MB, free: 5.203 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.001371/0.001371, allocations: 163.5 kB / 257.9 MB, free: 12.77 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.4038/0.4038, allocations: 80.22 MB / 341.4 MB, free: 9.523 MB / 314.7 MB " [Timeout remaining time 180] 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.01984/0.01984, allocations: 4.801 MB / 376.2 MB, free: 7.125 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 8.42e-07/8.42e-07, allocations: 0 / 396 MB, free: 3.395 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.798e-06/1.064e-05, allocations: 6.25 kB / 396 MB, free: 3.387 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.VolumeFlowSource): time 0.00402/0.004031, allocations: 4.224 MB / 400.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.006837, allocations: 2.777 MB / 403 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.007028, allocations: 19.88 kB / 403 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.008445, allocations: 1.896 MB / 404.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007429/0.009188, allocations: 0.918 MB / 405.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.009816, allocations: 0.4984 MB / 406.3 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000984/0.0108, allocations: 1.26 MB / 407.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.0112, allocations: 0.5542 MB / 408.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.01167, allocations: 0.7249 MB / 408.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.01219, allocations: 0.7815 MB / 409.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.918e-05/0.01227, allocations: 71.94 kB / 409.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.01265, allocations: 375.4 kB / 410.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.01284, allocations: 332.7 kB / 410.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.01303, allocations: 322.7 kB / 410.7 MB, free: 4.566 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.01377, allocations: 1.097 MB / 411.8 MB, free: 3.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.01377, allocations: 0 / 411.8 MB, free: 3.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.01377, allocations: 4 kB / 411.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.01378, allocations: 0 / 411.8 MB, free: 3.461 MB / 378.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.001322/0.0151, allocations: 1.715 MB / 413.5 MB, free: 1.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.965e-05/0.01512, allocations: 8.031 kB / 413.5 MB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/0.01579, allocations: 192.7 kB / 413.7 MB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.01626, allocations: 0.6032 MB / 414.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.01628, allocations: 33.38 kB / 414.3 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.01633, allocations: 52.38 kB / 414.4 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.01673, allocations: 0.6546 MB / 415 MB, free: 12 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.01675, allocations: 7.891 kB / 415.1 MB, free: 4 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.01679, allocations: 28.06 kB / 415.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.01679, allocations: 8 kB / 415.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.01698, allocations: 152.4 kB / 415.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.01817, allocations: 1.26 MB / 416.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.01847, allocations: 317.3 kB / 416.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.01857, allocations: 102.8 kB / 416.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.01859, allocations: 11.94 kB / 416.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.01878, allocations: 223.3 kB / 417.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 1.353e-06/0.01879, allocations: 0 / 417.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=55): time 0.001079/0.01986, allocations: 0.8071 MB / 417.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.812e-05/0.01996, allocations: 357.9 kB / 418.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/0.02075, allocations: 1.318 MB / 419.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.02078, allocations: 41.7 kB / 419.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.02095, allocations: 366.9 kB / 420 MB, free: 10.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/0.02103, allocations: 194.3 kB / 420.2 MB, free: 10.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.02113, allocations: 114.3 kB / 420.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.896e-05/0.0212, allocations: 333.8 kB / 420.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.02153, allocations: 56.11 kB / 420.7 MB, free: 10.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.02172, allocations: 419.5 kB / 421.1 MB, free: 9.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.02194, allocations: 237 kB / 421.3 MB, free: 9.312 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.02195, allocations: 0 / 421.3 MB, free: 9.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000311/0.02226, allocations: 320 kB / 421.6 MB, free: 8.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.02227, allocations: 4 kB / 421.7 MB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.02227, allocations: 4 kB / 421.7 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.02228, allocations: 4 kB / 421.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.02272, allocations: 192 kB / 421.8 MB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.02272, allocations: 4 kB / 421.8 MB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.02291, allocations: 27.94 kB / 421.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.02293, allocations: 15.98 kB / 421.9 MB, free: 8.746 MB / 394.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.0001447/0.02308, allocations: 152.5 kB / 422 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.02316, allocations: 91.89 kB / 422.1 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.02353, allocations: 382.2 kB / 422.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.02353, allocations: 7.938 kB / 422.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.02354, allocations: 8 kB / 422.5 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.02354, allocations: 7.984 kB / 422.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/0.02436, allocations: 0.7231 MB / 423.3 MB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.02436, allocations: 4 kB / 423.3 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.02493, allocations: 251.7 kB / 423.5 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.02493, allocations: 3.984 kB / 423.5 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.02495, allocations: 19.94 kB / 423.5 MB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.02627, allocations: 3.603 MB / 427.1 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02627, allocations: 8.031 kB / 427.1 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.02673, allocations: 0.5203 MB / 427.7 MB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.02708, allocations: 123 kB / 427.8 MB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.02714, allocations: 15.98 kB / 427.8 MB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.02734, allocations: 20 kB / 427.8 MB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.0274, allocations: 47.91 kB / 427.9 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.02743, allocations: 15.94 kB / 427.9 MB, free: 2.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004791/0.02791, allocations: 0.7538 MB / 428.6 MB, free: 1.652 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02791, allocations: 0 / 428.6 MB, free: 1.652 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003855/0.02829, allocations: 227.8 kB / 428.8 MB, free: 1.43 MB / 394.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.001126/0.02942, allocations: 0.5917 MB / 429.4 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.0297, allocations: 241.2 kB / 429.7 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.02971, allocations: 16 kB / 429.7 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.02998, allocations: 202.2 kB / 429.9 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.03045, allocations: 231 kB / 430.1 MB, free: 308 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.03246, allocations: 2.108 MB / 432.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.03262, allocations: 265.1 kB / 432.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000227/0.03285, allocations: 109.5 kB / 432.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.03325, allocations: 285.1 kB / 432.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.03325, allocations: 0 / 432.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of Templates: time 0.1689/0.2021, allocations: 14.21 MB / 447.1 MB, free: 59.77 MB / 410.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.535014148801565]