Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004864/0.004864, allocations: 99.64 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 192 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05491/0.05491, allocations: 11.84 MB / 281.7 MB, free: 9.34 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00295/0.00295, allocations: 63.91 kB / 392.3 MB, free: 3.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3561, allocations: 49.24 MB / 441.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004332/0.3605, allocations: 3.34 MB / 444.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3621, allocations: 0.8518 MB / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.3624, allocations: 12.72 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.3627, allocations: 59.61 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000632/0.3633, allocations: 185 kB / 446 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.3636, allocations: 102.1 kB / 446.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007353/0.3644, allocations: 0.6256 MB / 446.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.3647, allocations: 257.6 kB / 447 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.3651, allocations: 225.6 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.3656, allocations: 254.8 kB / 447.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.3657, allocations: 39.44 kB / 447.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.366, allocations: 51.84 kB / 447.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3661, allocations: 115 kB / 447.7 MB, free: 480 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.3664, allocations: 260.5 kB / 447.9 MB, free: 332 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006791/0.3671, allocations: 0.5273 MB / 448.4 MB, free: 116 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3671, allocations: 0 / 448.4 MB, free: 116 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3671, allocations: 0 / 448.4 MB, free: 116 kB / 318.1 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.3671, allocations: 0 / 448.4 MB, free: 116 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001254/0.3684, allocations: 0.7115 MB / 449.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3684, allocations: 14.02 kB / 449.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.3686, allocations: 55.73 kB / 449.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.3691, allocations: 345.8 kB / 449.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.3692, allocations: 37.34 kB / 449.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.3692, allocations: 46.81 kB / 449.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.3699, allocations: 378.6 kB / 450 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.37, allocations: 5.891 kB / 450 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.37, allocations: 19.52 kB / 450 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.37, allocations: 9.219 kB / 450 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.3705, allocations: 290.4 kB / 450.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.3727, allocations: 1.716 MB / 452 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.3731, allocations: 152.3 kB / 452.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.3733, allocations: 87.39 kB / 452.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3733, allocations: 6.141 kB / 452.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3733, allocations: 39.66 kB / 452.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.3733, allocations: 0 / 452.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005004/0.3738, allocations: 223 kB / 452.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.3739, allocations: 57.5 kB / 452.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.3743, allocations: 426.6 kB / 453 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3744, allocations: 29.7 kB / 453 MB, free: 12.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.3745, allocations: 231.4 kB / 453.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.3746, allocations: 66.34 kB / 453.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.3747, allocations: 62.7 kB / 453.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3748, allocations: 351.7 kB / 453.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.375, allocations: 78.47 kB / 453.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.3752, allocations: 166.7 kB / 454 MB, free: 11.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.3756, allocations: 246.7 kB / 454.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3756, allocations: 1.406 kB / 454.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005414/0.3761, allocations: 299.9 kB / 454.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3762, allocations: 6.719 kB / 454.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3762, allocations: 3.312 kB / 454.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3762, allocations: 5.531 kB / 454.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.3765, allocations: 67.98 kB / 454.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3765, allocations: 8.844 kB / 454.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.3768, allocations: 44.84 kB / 454.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.3768, allocations: 14.81 kB / 454.7 MB, free: 11.18 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002135/0.377, allocations: 183.8 kB / 454.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.3771, allocations: 46.44 kB / 454.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.3775, allocations: 216.3 kB / 455.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3775, allocations: 1.625 kB / 455.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3775, allocations: 1.281 kB / 455.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3776, allocations: 3.984 kB / 455.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009641/0.3785, allocations: 0.7196 MB / 455.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3785, allocations: 1.438 kB / 455.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.3788, allocations: 51.94 kB / 455.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3788, allocations: 1.406 kB / 455.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3788, allocations: 6.344 kB / 455.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3788, allocations: 2.688 kB / 455.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3788, allocations: 5.031 kB / 455.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.3794, allocations: 376.7 kB / 456.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.3795, allocations: 142.5 kB / 456.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.3796, allocations: 9.922 kB / 456.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3798, allocations: 7.469 kB / 456.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.3799, allocations: 10.02 kB / 456.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3799, allocations: 5.781 kB / 456.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000351/0.3802, allocations: 309 kB / 456.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3802, allocations: 0 / 456.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.3806, allocations: 96.7 kB / 456.8 MB, free: 9.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0001377/0.3808, allocations: 121.4 kB / 456.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.3812, allocations: 165.4 kB / 457.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3812, allocations: 1.219 kB / 457.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3813, allocations: 64.19 kB / 457.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.382, allocations: 146.3 kB / 457.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3833, allocations: 0.7534 MB / 458.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3837, allocations: 0.8264 MB / 458.9 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.384, allocations: 61.62 kB / 459 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.3841, allocations: 34.7 kB / 459 MB, free: 7.938 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3841, allocations: 0 / 459 MB, free: 7.938 MB / 334.1 MB Notification: Performance of Templates: time 0.01082/0.3949, allocations: 5.758 MB / 464.7 MB, free: 3.562 MB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)