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.00137/0.00137, allocations: 103.9 kB / 16.27 MB, free: 6.414 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.001312/0.001313, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.345/1.345, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05245/0.05245, allocations: 11.85 MB / 282.3 MB, free: 300 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.001802/0.001803, allocations: 71.81 kB / 342.5 MB, free: 3.938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2319, allocations: 49.22 MB / 391.7 MB, free: 49.36 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004512/0.2365, allocations: 3.34 MB / 395.1 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.238, allocations: 0.8519 MB / 395.9 MB, free: 46.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.2382, allocations: 10.56 kB / 395.9 MB, free: 46.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.2384, allocations: 57.48 kB / 396 MB, free: 46.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.2389, allocations: 183.5 kB / 396.2 MB, free: 46.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.2391, allocations: 100.9 kB / 396.3 MB, free: 46.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000635/0.2398, allocations: 0.6288 MB / 396.9 MB, free: 45.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.2402, allocations: 253.1 kB / 397.1 MB, free: 45.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.2405, allocations: 224.4 kB / 397.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.2408, allocations: 258.9 kB / 397.6 MB, free: 45.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.2409, allocations: 40.5 kB / 397.6 MB, free: 45.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.241, allocations: 55.12 kB / 397.7 MB, free: 45.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2412, allocations: 111.1 kB / 397.8 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.2414, allocations: 256.2 kB / 398.1 MB, free: 45.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006551/0.2421, allocations: 0.516 MB / 398.6 MB, free: 45.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2421, allocations: 2.266 kB / 398.6 MB, free: 45.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2421, allocations: 4 kB / 398.6 MB, free: 45.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.2421, allocations: 0 / 398.6 MB, free: 45.1 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.001065/0.2432, allocations: 0.6995 MB / 399.3 MB, free: 44.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2433, allocations: 13.06 kB / 399.3 MB, free: 44.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.2435, allocations: 53.3 kB / 399.3 MB, free: 44.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.2439, allocations: 342.7 kB / 399.7 MB, free: 44.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.2439, allocations: 37.47 kB / 399.7 MB, free: 44.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.244, allocations: 45.77 kB / 399.8 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.2446, allocations: 380.8 kB / 400.1 MB, free: 44.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.2446, allocations: 5.062 kB / 400.1 MB, free: 44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.2447, allocations: 15.94 kB / 400.1 MB, free: 43.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.2447, allocations: 9.281 kB / 400.2 MB, free: 43.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.2452, allocations: 290.4 kB / 400.4 MB, free: 43.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.2471, allocations: 1.723 MB / 402.2 MB, free: 42.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.2475, allocations: 158.7 kB / 402.3 MB, free: 42.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.2477, allocations: 83.25 kB / 402.4 MB, free: 42.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.2477, allocations: 6.297 kB / 402.4 MB, free: 42.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.2477, allocations: 36.78 kB / 402.4 MB, free: 42.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.2477, allocations: 0 / 402.4 MB, free: 42.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005025/0.2482, allocations: 219.7 kB / 402.7 MB, free: 41.97 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2483, allocations: 53.56 kB / 402.7 MB, free: 41.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.2488, allocations: 434 kB / 403.1 MB, free: 41.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2488, allocations: 26.67 kB / 403.2 MB, free: 41.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.249, allocations: 234 kB / 403.4 MB, free: 41.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.249, allocations: 66.78 kB / 403.4 MB, free: 41.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.2491, allocations: 58.08 kB / 403.5 MB, free: 41.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.2492, allocations: 351.6 kB / 403.8 MB, free: 40.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2494, allocations: 74.12 kB / 403.9 MB, free: 40.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.2495, allocations: 166.7 kB / 404.1 MB, free: 40.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.2499, allocations: 247.2 kB / 404.3 MB, free: 40.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2499, allocations: 5.375 kB / 404.3 MB, free: 40.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004892/0.2504, allocations: 289.1 kB / 404.6 MB, free: 40.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2504, allocations: 13.44 kB / 404.6 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2504, allocations: 3.938 kB / 404.6 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.2505, allocations: 4.406 kB / 404.6 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.2507, allocations: 71.45 kB / 404.7 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.2508, allocations: 5.062 kB / 404.7 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.251, allocations: 48.66 kB / 404.8 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.251, allocations: 10.81 kB / 404.8 MB, free: 40.32 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.0002013/0.2512, allocations: 188.8 kB / 405 MB, free: 40.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.2513, allocations: 38.97 kB / 405 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.2517, allocations: 208 kB / 405.2 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2517, allocations: 2.094 kB / 405.2 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2517, allocations: 1.531 kB / 405.2 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2517, allocations: 0 / 405.2 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/0.2526, allocations: 0.7169 MB / 405.9 MB, free: 39.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2526, allocations: 1.312 kB / 405.9 MB, free: 39.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.2528, allocations: 44.19 kB / 406 MB, free: 39.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2528, allocations: 1.5 kB / 406 MB, free: 39.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2529, allocations: 10.88 kB / 406 MB, free: 39.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2529, allocations: 5.531 kB / 406 MB, free: 39.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2529, allocations: 1.438 kB / 406 MB, free: 39.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.2534, allocations: 377.1 kB / 406.3 MB, free: 39.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2535, allocations: 137.3 kB / 406.5 MB, free: 38.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.2536, allocations: 11.31 kB / 406.5 MB, free: 38.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2537, allocations: 3.531 kB / 406.5 MB, free: 38.92 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.2538, allocations: 13.7 kB / 406.5 MB, free: 38.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2538, allocations: 5.312 kB / 406.5 MB, free: 38.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003359/0.2542, allocations: 309.7 kB / 406.8 MB, free: 38.72 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2542, allocations: 0 / 406.8 MB, free: 38.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.2546, allocations: 96.72 kB / 406.9 MB, free: 38.71 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.0001436/0.2547, allocations: 117.8 kB / 407 MB, free: 38.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.2552, allocations: 186.4 kB / 407.2 MB, free: 38.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2552, allocations: 1.312 kB / 407.2 MB, free: 38.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.2553, allocations: 69.47 kB / 407.3 MB, free: 38.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.256, allocations: 147 kB / 407.4 MB, free: 38.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2574, allocations: 0.7849 MB / 408.2 MB, free: 37.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2577, allocations: 0.8132 MB / 409 MB, free: 37.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.211e-05/0.2577, allocations: 39.89 kB / 409.1 MB, free: 37.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2578, allocations: 0 / 409.1 MB, free: 37.09 MB / 318.1 MB Notification: Performance of Templates: time 0.006475/0.2642, allocations: 5.683 MB / 414.7 MB, free: 31.71 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)