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.004938/0.004938, allocations: 100.1 kB / 15.73 MB, free: 6.016 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.001256/0.001256, allocations: 190 kB / 16.67 MB, free: 5.93 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.333/1.333, 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.05614/0.05614, allocations: 11.84 MB / 281.8 MB, free: 9.301 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.00208/0.00208, allocations: 68.59 kB / 391.8 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2488, allocations: 49.23 MB / 441.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003929/0.2528, allocations: 3.346 MB / 444.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.254, allocations: 0.8539 MB / 445.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.2541, allocations: 5.312 kB / 445.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.2543, allocations: 62.69 kB / 445.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000424/0.2548, allocations: 187.4 kB / 445.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.255, allocations: 104.6 kB / 445.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.2555, allocations: 0.6313 MB / 446.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.2559, allocations: 252.3 kB / 446.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.2561, allocations: 221.5 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.2564, allocations: 254.8 kB / 447 MB, free: 316 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.181e-05/0.2565, allocations: 42.81 kB / 447 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.2567, allocations: 52.64 kB / 447.1 MB, free: 312 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/0.2568, allocations: 115.1 kB / 447.2 MB, free: 236 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.257, allocations: 259.9 kB / 447.4 MB, free: 88 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.2576, allocations: 0.5231 MB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2577, allocations: 0 / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2577, allocations: 1.094 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.2577, allocations: 0 / 448 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.001098/0.2588, allocations: 0.7189 MB / 448.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2588, allocations: 13.48 kB / 448.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.238e-05/0.2589, allocations: 82.3 kB / 448.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.2591, allocations: 57.05 kB / 448.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.2596, allocations: 348 kB / 449.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.2596, allocations: 32.31 kB / 449.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.2597, allocations: 37.44 kB / 449.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.2603, allocations: 380.5 kB / 449.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2603, allocations: 5.266 kB / 449.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.2604, allocations: 14.62 kB / 449.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2604, allocations: 14.97 kB / 449.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.2609, allocations: 293.1 kB / 449.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.263, allocations: 1.713 MB / 451.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.2633, allocations: 158.6 kB / 451.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.2635, allocations: 83.19 kB / 451.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2635, allocations: 5.359 kB / 451.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2635, allocations: 35.94 kB / 451.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2635, allocations: 0 / 451.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000462/0.264, allocations: 227 kB / 452.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.2641, allocations: 52.78 kB / 452.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.2645, allocations: 426.7 kB / 452.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2645, allocations: 31.08 kB / 452.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.2647, allocations: 238 kB / 452.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.2648, allocations: 63.72 kB / 452.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.2649, allocations: 58.27 kB / 453 MB, free: 11.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.265, allocations: 351 kB / 453.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2652, allocations: 83.03 kB / 453.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.2654, allocations: 157.8 kB / 453.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.2658, allocations: 243.3 kB / 453.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2658, allocations: 5.031 kB / 453.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004859/0.2663, allocations: 300.3 kB / 454.1 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2663, allocations: 11.66 kB / 454.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2663, allocations: 3.281 kB / 454.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2663, allocations: 6.875 kB / 454.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.2666, allocations: 70.17 kB / 454.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2666, allocations: 5.5 kB / 454.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.2668, allocations: 45.62 kB / 454.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2668, allocations: 17.81 kB / 454.3 MB, free: 10.94 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.0002085/0.2671, allocations: 181.4 kB / 454.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.2671, allocations: 46.23 kB / 454.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.2675, allocations: 208.4 kB / 454.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2675, allocations: 1.531 kB / 454.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2675, allocations: 1.062 kB / 454.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2676, allocations: 0 / 454.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009293/0.2685, allocations: 0.7234 MB / 455.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2685, allocations: 9.094 kB / 455.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.2687, allocations: 44.66 kB / 455.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.2687, allocations: 5.125 kB / 455.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2687, allocations: 6.469 kB / 455.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2687, allocations: 2.438 kB / 455.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2688, allocations: 1.062 kB / 455.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.2693, allocations: 384.4 kB / 455.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.2694, allocations: 133.9 kB / 456 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.2695, allocations: 10.39 kB / 456 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.2697, allocations: 7.781 kB / 456 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.2697, allocations: 18.92 kB / 456 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2697, allocations: 7.859 kB / 456 MB, free: 9.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003268/0.2701, allocations: 306.1 kB / 456.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2701, allocations: 0 / 456.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.2704, allocations: 92.52 kB / 456.4 MB, free: 9.316 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.0008246/0.2713, allocations: 0.9252 MB / 457.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.2716, allocations: 170.3 kB / 457.5 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2716, allocations: 4.125 kB / 457.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.2718, allocations: 68 kB / 457.6 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.2724, allocations: 134.4 kB / 457.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.2769, allocations: 3.721 MB / 461.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.2774, allocations: 0.8265 MB / 462.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.2776, allocations: 61.39 kB / 462.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2778, allocations: 126.6 kB / 462.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2778, allocations: 0 / 462.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.3112, allocations: 9.637 MB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.55, allocations: 15.91 kB / 472.1 MB, free: 11.55 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)