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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005031/0.00503, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001024/0.001024, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.282/1.282, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05514/0.05514, allocations: 11.85 MB / 281.8 MB, free: 9.309 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.002188/0.002188, allocations: 63.91 kB / 391.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2789, allocations: 49.23 MB / 441.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004173/0.2831, allocations: 3.346 MB / 444.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.2845, allocations: 0.8424 MB / 445.3 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.2847, allocations: 13.72 kB / 445.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.2849, allocations: 58.44 kB / 445.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.2854, allocations: 186.6 kB / 445.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.2857, allocations: 101.6 kB / 445.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.2863, allocations: 0.6371 MB / 446.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.2867, allocations: 259.8 kB / 446.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.287, allocations: 227.8 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.2873, allocations: 250.6 kB / 447 MB, free: 320 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.656e-05/0.2874, allocations: 38.97 kB / 447 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.2876, allocations: 52.28 kB / 447.1 MB, free: 320 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.2877, allocations: 115.8 kB / 447.2 MB, free: 244 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.2879, allocations: 260.1 kB / 447.4 MB, free: 96 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.2886, allocations: 0.5188 MB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2886, allocations: 0.9375 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2886, allocations: 0 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.2886, allocations: 1.125 kB / 447.9 MB, free: 15.88 MB / 334.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.00111/0.2897, allocations: 0.7069 MB / 448.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2898, allocations: 12.98 kB / 448.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.2899, allocations: 83.25 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.2901, allocations: 52.34 kB / 448.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.2905, allocations: 346 kB / 449.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.2906, allocations: 32.19 kB / 449.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.2906, allocations: 37.91 kB / 449.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.2913, allocations: 384.5 kB / 449.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2913, allocations: 0 / 449.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.2914, allocations: 16.19 kB / 449.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2914, allocations: 9.219 kB / 449.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.2919, allocations: 300.4 kB / 449.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.2939, allocations: 1.707 MB / 451.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.2943, allocations: 153.4 kB / 451.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.2945, allocations: 85.95 kB / 451.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2945, allocations: 10.41 kB / 451.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2945, allocations: 31.62 kB / 451.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.2946, allocations: 1.219 kB / 451.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004686/0.295, allocations: 225.5 kB / 452.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.2951, allocations: 53.56 kB / 452.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.2955, allocations: 422.3 kB / 452.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2955, allocations: 27.08 kB / 452.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.2957, allocations: 241.5 kB / 452.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.2958, allocations: 59.36 kB / 452.9 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.2959, allocations: 58.3 kB / 452.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.296, allocations: 352.4 kB / 453.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2961, allocations: 77.41 kB / 453.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.2963, allocations: 171.3 kB / 453.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.2967, allocations: 245.6 kB / 453.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2967, allocations: 1.406 kB / 453.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004858/0.2972, allocations: 297.2 kB / 454.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2972, allocations: 7.375 kB / 454.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2972, allocations: 3.281 kB / 454.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2973, allocations: 4.594 kB / 454.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.2975, allocations: 72.02 kB / 454.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2975, allocations: 4.594 kB / 454.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.2978, allocations: 53.23 kB / 454.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.2978, allocations: 14.88 kB / 454.2 MB, free: 10.97 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.0002267/0.298, allocations: 188.3 kB / 454.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.2981, allocations: 39.06 kB / 454.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.2985, allocations: 211.9 kB / 454.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2985, allocations: 2.25 kB / 454.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2985, allocations: 0 / 454.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2985, allocations: 0 / 454.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009421/0.2995, allocations: 0.727 MB / 455.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2995, allocations: 2.312 kB / 455.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.2997, allocations: 39.89 kB / 455.4 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.2997, allocations: 5.031 kB / 455.4 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2997, allocations: 11.22 kB / 455.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.2997, allocations: 5.859 kB / 455.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2997, allocations: 1.125 kB / 455.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.3003, allocations: 376.6 kB / 455.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3004, allocations: 129.5 kB / 455.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.3005, allocations: 11.28 kB / 455.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3006, allocations: 7.328 kB / 456 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.3007, allocations: 13.8 kB / 456 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3007, allocations: 4.594 kB / 456 MB, free: 9.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003335/0.3011, allocations: 309.7 kB / 456.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3011, allocations: 1.531 kB / 456.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004137/0.3015, allocations: 95.41 kB / 456.4 MB, free: 9.352 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.0008125/0.3023, allocations: 0.9174 MB / 457.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.3027, allocations: 177.1 kB / 457.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3027, allocations: 1.406 kB / 457.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3028, allocations: 63.91 kB / 457.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.3035, allocations: 145.8 kB / 457.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.3079, allocations: 3.703 MB / 461.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3083, allocations: 0.8265 MB / 462.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.3086, allocations: 65.45 kB / 462.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.3087, allocations: 126.8 kB / 462.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3087, allocations: 4 kB / 462.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05188/0.3606, allocations: 9.767 MB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.641/10, allocations: 15.84 kB / 472.2 MB, free: 11.45 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)