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.000907/0.000907, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004744/0.004745, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.375/1.375, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05406/0.05406, allocations: 11.85 MB / 282.6 MB, free: 9.598 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.0005559/0.0005561, allocations: 12.75 kB / 343.5 MB, free: 22.15 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.0847, allocations: 50.22 MB / 393.7 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004217/0.08897, allocations: 4.04 MB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.09061, allocations: 0.9746 MB / 398.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.0908, allocations: 11.94 kB / 398.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.09097, allocations: 43.69 kB / 398.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.09144, allocations: 166.9 kB / 399 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.09165, allocations: 83.88 kB / 399.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006464/0.0923, allocations: 0.6571 MB / 399.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.09267, allocations: 229.2 kB / 399.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.09292, allocations: 191.2 kB / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.09322, allocations: 234.9 kB / 400.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.09327, allocations: 20 kB / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.09339, allocations: 32 kB / 400.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.0935, allocations: 83.61 kB / 400.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.09372, allocations: 252.6 kB / 400.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.09416, allocations: 0.4946 MB / 401.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.09417, allocations: 0 / 401.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09418, allocations: 0 / 401.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.09419, allocations: 4 kB / 401.2 MB, free: 12.34 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.0009789/0.09518, allocations: 0.6278 MB / 401.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.09524, allocations: 8.031 kB / 401.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.09543, allocations: 52.38 kB / 401.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.09586, allocations: 346.4 kB / 402.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.0959, allocations: 29.12 kB / 402.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.09597, allocations: 40 kB / 402.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.09663, allocations: 390.4 kB / 402.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.09665, allocations: 0 / 402.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.0967, allocations: 16 kB / 402.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.09671, allocations: 8 kB / 402.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.09723, allocations: 299.8 kB / 403 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.09938, allocations: 1.731 MB / 404.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.09971, allocations: 157.4 kB / 404.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.09993, allocations: 88.75 kB / 405 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.09996, allocations: 4 kB / 405 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.09999, allocations: 42.56 kB / 405 MB, free: 8.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.1, allocations: 0 / 405 MB, free: 8.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004649/0.1005, allocations: 221.1 kB / 405.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.1005, allocations: 55.41 kB / 405.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.101, allocations: 429.5 kB / 405.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.101, allocations: 29.7 kB / 405.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1011, allocations: 235.6 kB / 406 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1012, allocations: 63.09 kB / 406 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.1013, allocations: 29.7 kB / 406.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1014, allocations: 346.8 kB / 406.4 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1016, allocations: 85.02 kB / 406.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.1018, allocations: 165.9 kB / 406.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.1022, allocations: 256.6 kB / 406.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1022, allocations: 0 / 406.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004738/0.1027, allocations: 292.8 kB / 407.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1027, allocations: 8 kB / 407.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1027, allocations: 4.438 kB / 407.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1027, allocations: 8 kB / 407.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.103, allocations: 75.83 kB / 407.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.103, allocations: 7.938 kB / 407.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1032, allocations: 47.52 kB / 407.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.1033, allocations: 8 kB / 407.3 MB, free: 5.766 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.0002204/0.1035, allocations: 189.6 kB / 407.5 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.1036, allocations: 43.53 kB / 407.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.104, allocations: 207.3 kB / 407.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.104, allocations: 3.984 kB / 407.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.104, allocations: 0 / 407.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.104, allocations: 4 kB / 407.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009043/0.1049, allocations: 0.7306 MB / 408.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.105, allocations: 0 / 408.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.1051, allocations: 39.97 kB / 408.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1052, allocations: 8 kB / 408.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1052, allocations: 12.06 kB / 408.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.1052, allocations: 11.92 kB / 408.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1052, allocations: 0 / 408.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.1057, allocations: 378.3 kB / 409 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1059, allocations: 132.6 kB / 409.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.1059, allocations: 15.92 kB / 409.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.1061, allocations: 8 kB / 409.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.1062, allocations: 15.92 kB / 409.1 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1062, allocations: 4 kB / 409.1 MB, free: 3.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003307/0.1065, allocations: 315.2 kB / 409.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1065, allocations: 0 / 409.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.1069, allocations: 95.84 kB / 409.5 MB, free: 3.441 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.0001282/0.1071, allocations: 99.25 kB / 409.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.1074, allocations: 183.9 kB / 409.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1074, allocations: 0 / 409.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1076, allocations: 67.84 kB / 409.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/0.1083, allocations: 137.6 kB / 410 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1097, allocations: 0.9411 MB / 410.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1101, allocations: 0.8308 MB / 411.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.1103, allocations: 56.17 kB / 411.8 MB, free: 1.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.1104, allocations: 35.42 kB / 411.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of SimCode: time 1.844e-06/0.1104, allocations: 0 / 411.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of Templates: time 0.009948/0.1203, allocations: 5.388 MB / 417.3 MB, free: 11.71 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: