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.005416/0.005416, allocations: 103.6 kB / 15.74 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.001141/0.001141, allocations: 195.4 kB / 16.68 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.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05598/0.05598, allocations: 11.83 MB / 281.7 MB, free: 9.344 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.001479/0.001479, allocations: 71.88 kB / 392.3 MB, free: 3.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.237, allocations: 49.23 MB / 441.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004539/0.2416, allocations: 3.344 MB / 444.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.243, allocations: 0.8517 MB / 445.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2431, allocations: 8.812 kB / 445.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.2434, allocations: 63.5 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.2438, allocations: 196 kB / 446 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.244, allocations: 101.1 kB / 446.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000555/0.2446, allocations: 0.6306 MB / 446.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.245, allocations: 260.6 kB / 447 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.2452, allocations: 219.5 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.2455, allocations: 266.8 kB / 447.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.2456, allocations: 39.25 kB / 447.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.2458, allocations: 55.83 kB / 447.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.2459, allocations: 107.9 kB / 447.7 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.2461, allocations: 256.5 kB / 447.9 MB, free: 360 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.2466, allocations: 0.5325 MB / 448.5 MB, free: 116 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2466, allocations: 0 / 448.5 MB, free: 116 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2466, allocations: 0 / 448.5 MB, free: 116 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.2467, allocations: 0 / 448.5 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.001023/0.2477, allocations: 0.7005 MB / 449.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.2477, allocations: 13.14 kB / 449.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.2479, allocations: 56.17 kB / 449.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.2483, allocations: 338.1 kB / 449.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.2484, allocations: 38.44 kB / 449.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.2484, allocations: 37.19 kB / 449.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.249, allocations: 384 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2491, allocations: 3.938 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.2491, allocations: 15.59 kB / 450 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.2491, allocations: 8.969 kB / 450 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.2496, allocations: 290.5 kB / 450.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.2518, allocations: 1.72 MB / 452 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.2521, allocations: 153.6 kB / 452.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.2523, allocations: 82.5 kB / 452.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.2524, allocations: 1.969 kB / 452.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2524, allocations: 43.64 kB / 452.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.2524, allocations: 0.9375 kB / 452.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005139/0.2529, allocations: 223.1 kB / 452.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.253, allocations: 53.44 kB / 452.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.2534, allocations: 421.6 kB / 453 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2535, allocations: 31.08 kB / 453 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.2536, allocations: 237.2 kB / 453.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.2537, allocations: 60.08 kB / 453.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-05/0.2538, allocations: 60.89 kB / 453.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2539, allocations: 351.7 kB / 453.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.2541, allocations: 79.28 kB / 453.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.2543, allocations: 170.6 kB / 454 MB, free: 11.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.2547, allocations: 242.1 kB / 454.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2547, allocations: 1.188 kB / 454.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004897/0.2552, allocations: 296.3 kB / 454.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2552, allocations: 10.47 kB / 454.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2552, allocations: 8.422 kB / 454.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2553, allocations: 4.406 kB / 454.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.2555, allocations: 63.97 kB / 454.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2556, allocations: 13.27 kB / 454.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.2558, allocations: 44.81 kB / 454.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2559, allocations: 13.97 kB / 454.6 MB, free: 11.21 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.0002282/0.2561, allocations: 185.2 kB / 454.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.2562, allocations: 42.16 kB / 454.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.2566, allocations: 200.7 kB / 455.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2566, allocations: 2.281 kB / 455.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2566, allocations: 0 / 455.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2566, allocations: 3.984 kB / 455.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000956/0.2576, allocations: 0.7235 MB / 455.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2576, allocations: 1.25 kB / 455.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2578, allocations: 43.62 kB / 455.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.2578, allocations: 7.188 kB / 455.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.2578, allocations: 10.22 kB / 455.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2578, allocations: 1.188 kB / 455.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2579, allocations: 2.719 kB / 455.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.2584, allocations: 378.4 kB / 456.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2585, allocations: 134.7 kB / 456.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.2586, allocations: 10.12 kB / 456.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.2588, allocations: 7.469 kB / 456.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.2588, allocations: 14.44 kB / 456.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2588, allocations: 8.562 kB / 456.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003265/0.2592, allocations: 310.7 kB / 456.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2592, allocations: 0 / 456.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000418/0.2596, allocations: 92.94 kB / 456.8 MB, free: 9.598 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.0001634/0.2598, allocations: 112.7 kB / 456.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.2602, allocations: 169.4 kB / 457.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2602, allocations: 0 / 457.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.2603, allocations: 73.53 kB / 457.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.261, allocations: 140.7 kB / 457.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2624, allocations: 0.7413 MB / 458 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.2628, allocations: 0.8224 MB / 458.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.263, allocations: 61.72 kB / 458.9 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.2631, allocations: 34.75 kB / 458.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2631, allocations: 0 / 458.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of Templates: time 0.0122/0.2753, allocations: 5.758 MB / 464.7 MB, free: 3.594 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)