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.00791/0.00791, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001869/0.001869, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.323/1.323, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05342/0.05342, allocations: 11.84 MB / 281.8 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.001496/0.001496, allocations: 67.89 kB / 391.8 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2513, allocations: 49.23 MB / 441.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.00394/0.2553, allocations: 3.344 MB / 444.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2567, allocations: 0.8476 MB / 445.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.2569, allocations: 9 kB / 445.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.2571, allocations: 60.02 kB / 445.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.2575, allocations: 185.6 kB / 445.5 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.2577, allocations: 102.1 kB / 445.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005579/0.2583, allocations: 0.6293 MB / 446.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.2587, allocations: 266.8 kB / 446.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.2589, allocations: 224.4 kB / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.2592, allocations: 254.3 kB / 447 MB, free: 304 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.2593, allocations: 39.5 kB / 447 MB, free: 304 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2594, allocations: 56.17 kB / 447.1 MB, free: 300 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.2595, allocations: 111.1 kB / 447.2 MB, free: 228 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.2598, allocations: 264.7 kB / 447.4 MB, free: 76 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006255/0.2604, allocations: 0.5189 MB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2604, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2604, allocations: 1.312 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.2605, allocations: 0 / 447.9 MB, free: 15.86 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.001109/0.2616, allocations: 0.7001 MB / 448.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2616, allocations: 12.73 kB / 448.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.729e-05/0.2617, allocations: 82.38 kB / 448.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.2619, allocations: 56.88 kB / 448.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.2624, allocations: 344.1 kB / 449.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.2624, allocations: 37.38 kB / 449.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.2625, allocations: 37.59 kB / 449.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.2631, allocations: 380.9 kB / 449.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.2631, allocations: 0 / 449.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.2632, allocations: 15.94 kB / 449.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2632, allocations: 14.84 kB / 449.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.2637, allocations: 293.5 kB / 449.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.2657, allocations: 1.71 MB / 451.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.266, allocations: 154.4 kB / 451.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2662, allocations: 83.44 kB / 451.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2663, allocations: 5.359 kB / 451.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2663, allocations: 35.94 kB / 451.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.2663, allocations: 0 / 451.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004682/0.2668, allocations: 226.9 kB / 452.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.2668, allocations: 54.16 kB / 452.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.2673, allocations: 422.8 kB / 452.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.2673, allocations: 29.7 kB / 452.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.2675, allocations: 230.9 kB / 452.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.2675, allocations: 65.95 kB / 452.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.2676, allocations: 57.91 kB / 452.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2677, allocations: 351.8 kB / 453.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.2679, allocations: 82.97 kB / 453.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.2681, allocations: 161.8 kB / 453.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.2684, allocations: 251.7 kB / 453.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2685, allocations: 0 / 453.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004784/0.2689, allocations: 300.7 kB / 454.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.269, allocations: 7.812 kB / 454.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.269, allocations: 3.344 kB / 454.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.269, allocations: 9.984 kB / 454.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.2693, allocations: 70.92 kB / 454.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2693, allocations: 5.875 kB / 454.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.2695, allocations: 48.69 kB / 454.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.2696, allocations: 14.31 kB / 454.2 MB, free: 10.96 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.0002054/0.2698, allocations: 184.6 kB / 454.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.2699, allocations: 38.78 kB / 454.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.2702, allocations: 212.1 kB / 454.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2702, allocations: 6.266 kB / 454.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2703, allocations: 0 / 454.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2703, allocations: 1.125 kB / 454.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009017/0.2712, allocations: 0.719 MB / 455.4 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2712, allocations: 5.062 kB / 455.4 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.2714, allocations: 48.84 kB / 455.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.2714, allocations: 5.031 kB / 455.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2714, allocations: 2.188 kB / 455.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2714, allocations: 3.031 kB / 455.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2714, allocations: 1.125 kB / 455.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.2719, allocations: 383.7 kB / 455.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.2721, allocations: 133.8 kB / 455.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.2721, allocations: 6.375 kB / 455.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.2723, allocations: 7.844 kB / 456 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2724, allocations: 10.45 kB / 456 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2724, allocations: 8.75 kB / 456 MB, free: 9.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003254/0.2727, allocations: 309.7 kB / 456.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2727, allocations: 0 / 456.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.2731, allocations: 96.34 kB / 456.4 MB, free: 9.34 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.0007743/0.2739, allocations: 0.922 MB / 457.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.2743, allocations: 173.1 kB / 457.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2743, allocations: 5.312 kB / 457.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2744, allocations: 67.06 kB / 457.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.275, allocations: 134.2 kB / 457.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.2795, allocations: 3.708 MB / 461.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.2799, allocations: 0.8288 MB / 462.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.2802, allocations: 62 kB / 462.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.2803, allocations: 126.4 kB / 462.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2804, allocations: 1.281 kB / 462.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.3115, allocations: 9.77 MB / 472.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.118, allocations: 11.91 kB / 472.2 MB, free: 11.48 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)