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.00778/0.00778, allocations: 103.3 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.001674/0.001674, allocations: 193.3 kB / 16.67 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.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 4.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05298/0.05298, allocations: 11.85 MB / 281.7 MB, free: 9.328 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.001485/0.001485, allocations: 67.91 kB / 392.3 MB, free: 3.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2786, allocations: 49.22 MB / 441.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004613/0.2832, allocations: 3.35 MB / 444.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.2848, allocations: 0.8501 MB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.285, allocations: 5.406 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.2852, allocations: 63.48 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.2857, allocations: 200.5 kB / 446 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.2859, allocations: 97.66 kB / 446.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006286/0.2866, allocations: 0.6337 MB / 446.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/0.287, allocations: 252.9 kB / 447 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.2873, allocations: 219.6 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.2877, allocations: 262.3 kB / 447.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.914e-05/0.2878, allocations: 39.53 kB / 447.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.2879, allocations: 59.73 kB / 447.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.2881, allocations: 115.7 kB / 447.7 MB, free: 476 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.2883, allocations: 257.1 kB / 447.9 MB, free: 332 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.2889, allocations: 0.5203 MB / 448.4 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2889, allocations: 0 / 448.4 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2889, allocations: 0 / 448.4 MB, free: 120 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.2889, allocations: 0.9375 kB / 448.4 MB, free: 120 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.001026/0.2899, allocations: 0.7068 MB / 449.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.29, allocations: 14.36 kB / 449.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.2902, allocations: 52.09 kB / 449.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.2906, allocations: 336.9 kB / 449.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.2906, allocations: 40.91 kB / 449.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.2907, allocations: 42.28 kB / 449.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.2913, allocations: 384.2 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2913, allocations: 0 / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.2914, allocations: 16.25 kB / 450 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2914, allocations: 8.688 kB / 450 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.2919, allocations: 292.2 kB / 450.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.294, allocations: 1.718 MB / 452 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.2943, allocations: 149.3 kB / 452.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.2945, allocations: 87.23 kB / 452.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2945, allocations: 1.688 kB / 452.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.2945, allocations: 39.88 kB / 452.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.2946, allocations: 0 / 452.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004692/0.295, allocations: 219.2 kB / 452.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.2951, allocations: 57.59 kB / 452.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.2955, allocations: 421.8 kB / 453 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2956, allocations: 27.17 kB / 453 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.2957, allocations: 237.4 kB / 453.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.2958, allocations: 63.75 kB / 453.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.511e-05/0.2959, allocations: 62.41 kB / 453.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.296, allocations: 351.3 kB / 453.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.2962, allocations: 78.66 kB / 453.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.2964, allocations: 173.4 kB / 454 MB, free: 11.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.2967, allocations: 242.8 kB / 454.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.2967, allocations: 1.062 kB / 454.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000464/0.2972, allocations: 297.5 kB / 454.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2972, allocations: 9.781 kB / 454.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2972, allocations: 3.656 kB / 454.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.2973, allocations: 8.594 kB / 454.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2975, allocations: 71.77 kB / 454.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2976, allocations: 9.562 kB / 454.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2978, allocations: 44.84 kB / 454.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.2978, allocations: 14.66 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.0002134/0.298, allocations: 188.2 kB / 454.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.2981, allocations: 43.09 kB / 454.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.2985, allocations: 211.6 kB / 455.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2985, allocations: 2.344 kB / 455.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2985, allocations: 0 / 455.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2985, allocations: 0.9688 kB / 455.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008965/0.2994, allocations: 0.7188 MB / 455.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2994, allocations: 1.094 kB / 455.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.2996, allocations: 44.53 kB / 455.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2997, allocations: 1.562 kB / 455.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2997, allocations: 6.531 kB / 455.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2997, allocations: 6.344 kB / 455.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2997, allocations: 1.438 kB / 455.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.3002, allocations: 376.5 kB / 456.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3003, allocations: 132.6 kB / 456.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.3004, allocations: 11.94 kB / 456.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3006, allocations: 7.031 kB / 456.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.3006, allocations: 18.08 kB / 456.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3006, allocations: 4.188 kB / 456.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003221/0.301, allocations: 310.7 kB / 456.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.301, allocations: 0 / 456.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.3014, allocations: 96.03 kB / 456.8 MB, free: 9.594 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.0001488/0.3015, allocations: 110.1 kB / 456.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.3019, allocations: 173.6 kB / 457.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3019, allocations: 0 / 457.1 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.302, allocations: 67.5 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.0006169/0.3026, allocations: 147.4 kB / 457.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.304, allocations: 0.7403 MB / 458 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.3044, allocations: 0.8257 MB / 458.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.3046, allocations: 61.34 kB / 458.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.3047, allocations: 43.02 kB / 458.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3047, allocations: 3.938 kB / 459 MB, free: 7.988 MB / 334.1 MB Notification: Performance of Templates: time 0.01068/0.3154, allocations: 5.739 MB / 464.7 MB, free: 3.633 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)