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.005685/0.005685, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001323/0.001323, allocations: 193.5 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.331/1.331, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05923/0.05923, allocations: 11.84 MB / 281.8 MB, free: 9.34 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.002146/0.002146, allocations: 72.45 kB / 391.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2282, allocations: 49.23 MB / 441.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003885/0.2321, allocations: 3.344 MB / 444.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2336, allocations: 0.8477 MB / 445.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.2337, allocations: 8.969 kB / 445.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.234, allocations: 58.73 kB / 445.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.2344, allocations: 190 kB / 445.5 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.2346, allocations: 102.1 kB / 445.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.2351, allocations: 0.6296 MB / 446.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.2355, allocations: 257.3 kB / 446.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.2357, allocations: 221.8 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.236, allocations: 254.5 kB / 447 MB, free: 324 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.16e-05/0.2361, allocations: 43.59 kB / 447 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.2362, allocations: 59.83 kB / 447.1 MB, free: 312 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.2363, allocations: 108 kB / 447.2 MB, free: 244 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.2365, allocations: 255.8 kB / 447.4 MB, free: 100 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006181/0.2371, allocations: 0.5259 MB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2372, allocations: 0.75 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2372, allocations: 1.406 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2372, allocations: 0 / 448 MB, free: 15.89 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.001106/0.2383, allocations: 0.7141 MB / 448.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2383, allocations: 17.98 kB / 448.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.952e-05/0.2384, allocations: 80.09 kB / 448.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.2386, allocations: 55.98 kB / 448.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.239, allocations: 342.1 kB / 449.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.2391, allocations: 32.44 kB / 449.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.2392, allocations: 42.91 kB / 449.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.2398, allocations: 383.7 kB / 449.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.2398, allocations: 3.953 kB / 449.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.2399, allocations: 24.55 kB / 449.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.2399, allocations: 8.844 kB / 449.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005236/0.2404, allocations: 291.2 kB / 449.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.2427, allocations: 1.712 MB / 451.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.243, allocations: 161.3 kB / 451.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.2432, allocations: 82.25 kB / 451.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.2433, allocations: 2.156 kB / 451.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2433, allocations: 31.5 kB / 451.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.764e-06/0.2433, allocations: 0 / 451.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005159/0.2438, allocations: 235.3 kB / 452.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2439, allocations: 53.69 kB / 452.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.2444, allocations: 422.1 kB / 452.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2444, allocations: 31.08 kB / 452.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.2446, allocations: 238 kB / 452.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.2447, allocations: 63.72 kB / 452.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.2447, allocations: 60.89 kB / 453 MB, free: 11.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2449, allocations: 356.4 kB / 453.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2451, allocations: 82.77 kB / 453.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.2453, allocations: 161.9 kB / 453.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.2457, allocations: 238.6 kB / 453.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2457, allocations: 5.219 kB / 453.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005069/0.2462, allocations: 296.8 kB / 454.1 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2462, allocations: 10.72 kB / 454.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2463, allocations: 8.297 kB / 454.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2463, allocations: 9.188 kB / 454.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.2466, allocations: 70.95 kB / 454.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.2466, allocations: 9.406 kB / 454.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.2468, allocations: 44.47 kB / 454.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.2469, allocations: 19.02 kB / 454.3 MB, free: 10.92 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.0002452/0.2471, allocations: 180.1 kB / 454.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.2472, allocations: 42.84 kB / 454.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.2477, allocations: 204.8 kB / 454.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2477, allocations: 2.594 kB / 454.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2477, allocations: 0 / 454.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2477, allocations: 3.984 kB / 454.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.2488, allocations: 0.7273 MB / 455.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2488, allocations: 5 kB / 455.4 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.249, allocations: 44.5 kB / 455.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.249, allocations: 5.312 kB / 455.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.249, allocations: 3.25 kB / 455.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.249, allocations: 1.25 kB / 455.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.249, allocations: 2.375 kB / 455.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.2496, allocations: 383 kB / 455.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2498, allocations: 134.4 kB / 456 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.2498, allocations: 10.48 kB / 456 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.25, allocations: 7.688 kB / 456 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.2501, allocations: 18.47 kB / 456 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2501, allocations: 4.469 kB / 456 MB, free: 9.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003393/0.2504, allocations: 305.8 kB / 456.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.2504, allocations: 0 / 456.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003981/0.2508, allocations: 105.6 kB / 456.4 MB, free: 9.297 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.0008323/0.2517, allocations: 0.9168 MB / 457.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.252, allocations: 170.2 kB / 457.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.252, allocations: 0 / 457.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.2522, allocations: 67.81 kB / 457.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.2528, allocations: 138.3 kB / 457.7 MB, free: 8.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/0.2577, allocations: 3.73 MB / 461.4 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.2582, allocations: 0.8212 MB / 462.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.2584, allocations: 62.22 kB / 462.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.2586, allocations: 126.6 kB / 462.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2586, allocations: 0 / 462.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.2935, allocations: 9.631 MB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.644, allocations: 11.91 kB / 472.1 MB, free: 11.53 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 & python3 -m fmpy simulate --output-file OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)