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.005205/0.005205, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001364/0.001364, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.274/1.274, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05419/0.05419, allocations: 11.85 MB / 281.8 MB, free: 9.305 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.001486/0.001486, allocations: 67.91 kB / 391.8 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 49.23 MB / 441.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003649/0.2351, allocations: 3.349 MB / 444.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2364, allocations: 0.8516 MB / 445.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.2365, allocations: 5 kB / 445.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.2367, allocations: 62.67 kB / 445.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.2372, allocations: 200.7 kB / 445.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2374, allocations: 104.9 kB / 445.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.238, allocations: 0.6302 MB / 446.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.2383, allocations: 257.8 kB / 446.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.2386, allocations: 219 kB / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.239, allocations: 263.2 kB / 447 MB, free: 296 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.246e-05/0.239, allocations: 39.62 kB / 447 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.2392, allocations: 51.58 kB / 447.1 MB, free: 296 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2393, allocations: 114.6 kB / 447.2 MB, free: 220 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.2395, allocations: 256.9 kB / 447.4 MB, free: 76 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.2402, allocations: 0.523 MB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2402, allocations: 4 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2402, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.2402, allocations: 1.125 kB / 448 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.00106/0.2413, allocations: 0.7113 MB / 448.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2413, allocations: 14.45 kB / 448.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.266e-05/0.2414, allocations: 82.47 kB / 448.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2416, allocations: 64.48 kB / 448.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.242, allocations: 343.8 kB / 449.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.2421, allocations: 37.17 kB / 449.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.2421, allocations: 38.34 kB / 449.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.2428, allocations: 380.6 kB / 449.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.2428, allocations: 3.953 kB / 449.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.2428, allocations: 14.94 kB / 449.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.2428, allocations: 9.594 kB / 449.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.2434, allocations: 294.5 kB / 449.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.2453, allocations: 1.712 MB / 451.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.2456, allocations: 154.3 kB / 451.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.2458, allocations: 83.44 kB / 451.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.2458, allocations: 9.344 kB / 451.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2459, allocations: 35.94 kB / 451.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.2459, allocations: 0 / 451.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004625/0.2463, allocations: 226.9 kB / 452.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2464, allocations: 58.44 kB / 452.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.2468, allocations: 421.5 kB / 452.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2469, allocations: 31.17 kB / 452.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.247, allocations: 237.7 kB / 452.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.2471, allocations: 63.52 kB / 452.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.2471, allocations: 61.81 kB / 453 MB, free: 11.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.2473, allocations: 356.4 kB / 453.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2474, allocations: 78.66 kB / 453.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.2476, allocations: 161.9 kB / 453.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.2479, allocations: 243 kB / 453.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2479, allocations: 1.562 kB / 453.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004668/0.2484, allocations: 296.6 kB / 454.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2484, allocations: 5.781 kB / 454.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2485, allocations: 7.469 kB / 454.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2485, allocations: 5.812 kB / 454.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.2488, allocations: 67.55 kB / 454.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2488, allocations: 12.83 kB / 454.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.249, allocations: 45.06 kB / 454.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2491, allocations: 19.03 kB / 454.3 MB, free: 10.91 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.0002026/0.2493, allocations: 180.7 kB / 454.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.2493, allocations: 42.91 kB / 454.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.2497, allocations: 203.8 kB / 454.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2497, allocations: 6.031 kB / 454.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2498, allocations: 0 / 454.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2498, allocations: 4.953 kB / 454.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009292/0.2507, allocations: 0.7236 MB / 455.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2507, allocations: 1.156 kB / 455.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.2509, allocations: 48.48 kB / 455.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.2509, allocations: 9.141 kB / 455.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.251, allocations: 6.594 kB / 455.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.251, allocations: 2.688 kB / 455.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.251, allocations: 1.344 kB / 455.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.2515, allocations: 379.4 kB / 455.9 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.2517, allocations: 129.6 kB / 456 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.2517, allocations: 14.5 kB / 456 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2519, allocations: 8.344 kB / 456 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.252, allocations: 10.27 kB / 456 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.252, allocations: 8.531 kB / 456 MB, free: 9.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003467/0.2524, allocations: 313.9 kB / 456.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2524, allocations: 0 / 456.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004409/0.2528, allocations: 96.23 kB / 456.4 MB, free: 9.285 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.0007334/0.2536, allocations: 0.9182 MB / 457.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.2539, allocations: 166.3 kB / 457.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2539, allocations: 0 / 457.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.254, allocations: 79.34 kB / 457.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.2547, allocations: 134.9 kB / 457.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.2591, allocations: 3.72 MB / 461.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.2595, allocations: 0.8265 MB / 462.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.2597, allocations: 69.27 kB / 462.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.2598, allocations: 126 kB / 462.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2598, allocations: 0 / 462.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.2878, allocations: 9.637 MB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.006, allocations: 11.83 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)