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.001014/0.001014, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001005/0.001005, allocations: 198.5 kB / 16.91 MB, free: 6.195 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.244/1.244, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04981/0.04981, allocations: 11.83 MB / 281.9 MB, free: 9.613 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.00132/0.001319, allocations: 71.56 kB / 342 MB, free: 22.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08352/0.08485, allocations: 49.23 MB / 391.2 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.00527/0.09015, allocations: 4.442 MB / 395.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.092, allocations: 0.9629 MB / 396.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.0924, allocations: 15.88 kB / 396.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.09266, allocations: 39.69 kB / 396.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005652/0.09324, allocations: 182.9 kB / 396.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.09348, allocations: 83.86 kB / 396.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000631/0.09412, allocations: 0.6219 MB / 397.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.09447, allocations: 262.1 kB / 397.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.09473, allocations: 215.2 kB / 398 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.09503, allocations: 262.9 kB / 398.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.09509, allocations: 40 kB / 398.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.09523, allocations: 60 kB / 398.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.09534, allocations: 111.6 kB / 398.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.09556, allocations: 258.9 kB / 398.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.09596, allocations: 407.3 kB / 399.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09598, allocations: 0 / 399.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09598, allocations: 0 / 399.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.096, allocations: 0 / 399.1 MB, free: 13.08 MB / 302.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.001018/0.09702, allocations: 0.7057 MB / 399.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.09706, allocations: 11.89 kB / 399.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.09723, allocations: 56.36 kB / 399.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.09762, allocations: 338.5 kB / 400.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.09766, allocations: 33.12 kB / 400.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.09772, allocations: 36 kB / 400.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.09836, allocations: 382.4 kB / 400.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.09839, allocations: 0 / 400.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.09843, allocations: 20 kB / 400.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.09844, allocations: 15.94 kB / 400.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.09891, allocations: 295.8 kB / 401 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.1008, allocations: 1.719 MB / 402.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.1012, allocations: 150.8 kB / 402.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1014, allocations: 88.75 kB / 402.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1014, allocations: 4 kB / 402.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1014, allocations: 34.56 kB / 403 MB, free: 8.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.1014, allocations: 0 / 403 MB, free: 8.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004681/0.1019, allocations: 223.4 kB / 403.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.102, allocations: 55.41 kB / 403.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.1024, allocations: 425.5 kB / 403.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1024, allocations: 33.7 kB / 403.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1025, allocations: 231.6 kB / 403.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.1026, allocations: 63.09 kB / 404 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.1027, allocations: 57.55 kB / 404 MB, free: 7.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1028, allocations: 350.7 kB / 404.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.103, allocations: 85.31 kB / 404.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.1032, allocations: 166 kB / 404.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.1035, allocations: 240.6 kB / 404.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1035, allocations: 4 kB / 404.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004332/0.1039, allocations: 296.8 kB / 405.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1039, allocations: 4 kB / 405.2 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.104, allocations: 4 kB / 405.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.104, allocations: 4 kB / 405.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.1042, allocations: 76.25 kB / 405.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.1043, allocations: 8 kB / 405.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.1045, allocations: 47.53 kB / 405.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1045, allocations: 12 kB / 405.3 MB, free: 6.43 MB / 302.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.0001974/0.1047, allocations: 181.6 kB / 405.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.1048, allocations: 43.52 kB / 405.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.1051, allocations: 207.8 kB / 405.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1051, allocations: 0 / 405.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1052, allocations: 4 kB / 405.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1052, allocations: 0 / 405.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008688/0.106, allocations: 0.7231 MB / 406.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1061, allocations: 4.125 kB / 406.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.1062, allocations: 39.97 kB / 406.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1063, allocations: 4 kB / 406.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1063, allocations: 7.938 kB / 406.5 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1063, allocations: 7.938 kB / 406.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1063, allocations: 0 / 406.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.1068, allocations: 374.1 kB / 406.9 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1069, allocations: 140.6 kB / 407 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.1069, allocations: 3.938 kB / 407 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1071, allocations: 8 kB / 407 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.1072, allocations: 19.92 kB / 407.1 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1072, allocations: 12.05 kB / 407.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003046/0.1075, allocations: 307.1 kB / 407.4 MB, free: 4.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1075, allocations: 0 / 407.4 MB, free: 4.238 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.1079, allocations: 95.84 kB / 407.5 MB, free: 4.145 MB / 302.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.0001482/0.108, allocations: 107.2 kB / 407.6 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.1084, allocations: 188.2 kB / 407.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1084, allocations: 0 / 407.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1085, allocations: 63.91 kB / 407.8 MB, free: 3.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.1091, allocations: 141.8 kB / 408 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1105, allocations: 0.9148 MB / 408.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.1109, allocations: 0.823 MB / 409.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.1109, allocations: 39.42 kB / 409.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.111, allocations: 4 kB / 409.7 MB, free: 1.789 MB / 302.1 MB Notification: Performance of Templates: time 0.007351/0.1183, allocations: 5.663 MB / 415.4 MB, free: 12.15 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)