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.001332/0.001332, allocations: 113.4 kB / 16.37 MB, free: 5.996 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.001399/0.001399, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.362/1.362, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05349/0.05349, allocations: 11.85 MB / 282.4 MB, free: 252 kB / 222.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.001525/0.001525, allocations: 67.91 kB / 343.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2599, allocations: 49.2 MB / 392.5 MB, free: 49.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.005149/0.2651, allocations: 3.354 MB / 395.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.2669, allocations: 0.8456 MB / 396.7 MB, free: 46.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.2671, allocations: 4.438 kB / 396.7 MB, free: 46.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.2674, allocations: 66.2 kB / 396.7 MB, free: 46.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.2679, allocations: 186.2 kB / 396.9 MB, free: 46.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.2681, allocations: 101.8 kB / 397 MB, free: 46.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006786/0.2688, allocations: 0.6264 MB / 397.7 MB, free: 45.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003871/0.2692, allocations: 261.6 kB / 397.9 MB, free: 45.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.2695, allocations: 226.4 kB / 398.1 MB, free: 45.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003549/0.2699, allocations: 257.3 kB / 398.4 MB, free: 45.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.27, allocations: 43.5 kB / 398.4 MB, free: 45.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.2701, allocations: 52.14 kB / 398.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.2702, allocations: 107.9 kB / 398.6 MB, free: 45.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.2705, allocations: 260.3 kB / 398.8 MB, free: 45.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.2711, allocations: 0.5205 MB / 399.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2711, allocations: 5 kB / 399.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2711, allocations: 0 / 399.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2711, allocations: 0 / 399.4 MB, free: 45.11 MB / 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.001054/0.2722, allocations: 0.7079 MB / 400.1 MB, free: 44.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2722, allocations: 14.48 kB / 400.1 MB, free: 44.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.2724, allocations: 52.91 kB / 400.1 MB, free: 44.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.2729, allocations: 345.3 kB / 400.5 MB, free: 44.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.2729, allocations: 33.53 kB / 400.5 MB, free: 44.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.273, allocations: 36.91 kB / 400.5 MB, free: 44.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.2737, allocations: 384.2 kB / 400.9 MB, free: 43.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2738, allocations: 1.219 kB / 400.9 MB, free: 43.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.2738, allocations: 23.77 kB / 400.9 MB, free: 43.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.2738, allocations: 8.688 kB / 400.9 MB, free: 43.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.2744, allocations: 291 kB / 401.2 MB, free: 43.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.2763, allocations: 1.711 MB / 402.9 MB, free: 42.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.2766, allocations: 157 kB / 403.1 MB, free: 42.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.2768, allocations: 82.94 kB / 403.2 MB, free: 42.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.2769, allocations: 10.36 kB / 403.2 MB, free: 42.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.2769, allocations: 36.12 kB / 403.2 MB, free: 42.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.2769, allocations: 0 / 403.2 MB, free: 42.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004672/0.2774, allocations: 219.3 kB / 403.4 MB, free: 41.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.2774, allocations: 52.88 kB / 403.5 MB, free: 41.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.2778, allocations: 430.4 kB / 403.9 MB, free: 41.6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2779, allocations: 30.83 kB / 403.9 MB, free: 41.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.278, allocations: 237.6 kB / 404.2 MB, free: 41.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.278, allocations: 62.69 kB / 404.2 MB, free: 41.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.2781, allocations: 54.73 kB / 404.3 MB, free: 41.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.2782, allocations: 351.7 kB / 404.6 MB, free: 40.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2784, allocations: 77.72 kB / 404.7 MB, free: 40.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.2786, allocations: 166.2 kB / 404.9 MB, free: 40.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.2789, allocations: 247.9 kB / 405.1 MB, free: 40.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2789, allocations: 5.406 kB / 405.1 MB, free: 40.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004613/0.2794, allocations: 292.8 kB / 405.4 MB, free: 40.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2794, allocations: 8 kB / 405.4 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2794, allocations: 3.719 kB / 405.4 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2794, allocations: 3.875 kB / 405.4 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.2797, allocations: 68.2 kB / 405.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2797, allocations: 4.875 kB / 405.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2799, allocations: 45.28 kB / 405.5 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.28, allocations: 18.25 kB / 405.6 MB, free: 40.29 MB / 318.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.0001804/0.2802, allocations: 185.5 kB / 405.7 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.2802, allocations: 42.55 kB / 405.8 MB, free: 40.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.2806, allocations: 203.1 kB / 406 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2806, allocations: 1.469 kB / 406 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2806, allocations: 1.375 kB / 406 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2806, allocations: 0 / 406 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.2814, allocations: 0.7235 MB / 406.7 MB, free: 39.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.2814, allocations: 1.031 kB / 406.7 MB, free: 39.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.2816, allocations: 43.78 kB / 406.7 MB, free: 39.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2816, allocations: 6.5 kB / 406.7 MB, free: 39.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2817, allocations: 10.59 kB / 406.8 MB, free: 39.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2817, allocations: 5.875 kB / 406.8 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2817, allocations: 1.375 kB / 406.8 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.2821, allocations: 368 kB / 407.1 MB, free: 39.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.2822, allocations: 137.7 kB / 407.3 MB, free: 38.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.2823, allocations: 6.281 kB / 407.3 MB, free: 38.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.2825, allocations: 8.438 kB / 407.3 MB, free: 38.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.2826, allocations: 14.17 kB / 407.3 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2826, allocations: 12.2 kB / 407.3 MB, free: 38.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.2829, allocations: 306.3 kB / 407.6 MB, free: 38.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2829, allocations: 0 / 407.6 MB, free: 38.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004315/0.2833, allocations: 92.09 kB / 407.7 MB, free: 38.67 MB / 318.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.0001486/0.2835, allocations: 121.9 kB / 407.8 MB, free: 38.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.2839, allocations: 176.8 kB / 408 MB, free: 38.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2839, allocations: 0 / 408 MB, free: 38.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.284, allocations: 69.66 kB / 408 MB, free: 38.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.2847, allocations: 150 kB / 408.2 MB, free: 38.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.286, allocations: 0.7408 MB / 408.9 MB, free: 37.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.2862, allocations: 0.8246 MB / 409.8 MB, free: 37.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.2864, allocations: 62.09 kB / 409.8 MB, free: 37.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.2865, allocations: 37.33 kB / 409.9 MB, free: 37.06 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2865, allocations: 0 / 409.9 MB, free: 37.06 MB / 318.1 MB Notification: Performance of Templates: time 0.008412/0.2949, allocations: 5.693 MB / 415.6 MB, free: 31.46 MB / 318.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 -s cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)