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: translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 119.8 kB / 16.37 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.001011/0.001011, allocations: 193 kB / 17.31 MB, free: 5.613 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.22/1.22, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05611/0.05611, allocations: 11.84 MB / 282.4 MB, free: 248 kB / 222.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.002419/0.002419, allocations: 71.89 kB / 343.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1841, allocations: 49.21 MB / 392.5 MB, free: 49.35 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003688/0.1879, allocations: 3.35 MB / 395.8 MB, free: 47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1889, allocations: 0.844 MB / 396.7 MB, free: 46.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1891, allocations: 9.75 kB / 396.7 MB, free: 46.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.1893, allocations: 57.86 kB / 396.8 MB, free: 46.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.1897, allocations: 187.5 kB / 396.9 MB, free: 46.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1899, allocations: 101 kB / 397 MB, free: 46.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.1904, allocations: 0.6308 MB / 397.7 MB, free: 45.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.1908, allocations: 257.1 kB / 397.9 MB, free: 45.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.191, allocations: 227 kB / 398.1 MB, free: 45.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.1913, allocations: 249 kB / 398.4 MB, free: 45.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.1913, allocations: 40.62 kB / 398.4 MB, free: 45.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1914, allocations: 52 kB / 398.5 MB, free: 45.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.1915, allocations: 115.1 kB / 398.6 MB, free: 45.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.1918, allocations: 260.2 kB / 398.8 MB, free: 45.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.1922, allocations: 0.5203 MB / 399.4 MB, free: 45.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1922, allocations: 0.5625 kB / 399.4 MB, free: 45.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1922, allocations: 5.188 kB / 399.4 MB, free: 45.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1922, allocations: 0 / 399.4 MB, free: 45.09 MB / 318.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.0008651/0.1931, allocations: 0.7071 MB / 400.1 MB, free: 44.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.1931, allocations: 14.36 kB / 400.1 MB, free: 44.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.1933, allocations: 52.52 kB / 400.1 MB, free: 44.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.1937, allocations: 342.2 kB / 400.5 MB, free: 44.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1937, allocations: 36.94 kB / 400.5 MB, free: 44.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.1938, allocations: 41.64 kB / 400.5 MB, free: 44.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.1943, allocations: 384 kB / 400.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1943, allocations: 0 / 400.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.1944, allocations: 16.44 kB / 400.9 MB, free: 43.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1944, allocations: 9.219 kB / 400.9 MB, free: 43.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.1949, allocations: 293.6 kB / 401.2 MB, free: 43.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.1965, allocations: 1.709 MB / 402.9 MB, free: 42.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.1968, allocations: 153.4 kB / 403.1 MB, free: 42.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1969, allocations: 91.69 kB / 403.2 MB, free: 42.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.197, allocations: 6.141 kB / 403.2 MB, free: 42.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.197, allocations: 33.06 kB / 403.2 MB, free: 42.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.197, allocations: 3.938 kB / 403.2 MB, free: 42.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004138/0.1974, allocations: 227.1 kB / 403.4 MB, free: 41.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.1974, allocations: 57.52 kB / 403.5 MB, free: 41.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.1978, allocations: 422.9 kB / 403.9 MB, free: 41.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1978, allocations: 30.83 kB / 403.9 MB, free: 41.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.1979, allocations: 233.2 kB / 404.2 MB, free: 41.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.198, allocations: 59.11 kB / 404.2 MB, free: 41.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.198, allocations: 58.2 kB / 404.3 MB, free: 41.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.1981, allocations: 351.3 kB / 404.6 MB, free: 40.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1982, allocations: 82.45 kB / 404.7 MB, free: 40.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1984, allocations: 159.4 kB / 404.9 MB, free: 40.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.1987, allocations: 254.2 kB / 405.1 MB, free: 40.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1987, allocations: 1.281 kB / 405.1 MB, free: 40.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004172/0.1991, allocations: 288.2 kB / 405.4 MB, free: 40.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1991, allocations: 6.938 kB / 405.4 MB, free: 40.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1991, allocations: 3.25 kB / 405.4 MB, free: 40.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1992, allocations: 6.219 kB / 405.4 MB, free: 40.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.1994, allocations: 75.67 kB / 405.5 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1995, allocations: 4.625 kB / 405.5 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1997, allocations: 49.25 kB / 405.5 MB, free: 40.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1997, allocations: 18.48 kB / 405.6 MB, free: 40.24 MB / 318.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.0001492/0.1999, allocations: 184.2 kB / 405.7 MB, free: 40.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.1999, allocations: 39 kB / 405.8 MB, free: 40.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.2003, allocations: 203 kB / 406 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2003, allocations: 2.562 kB / 406 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2003, allocations: 4 kB / 406 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2003, allocations: 1.031 kB / 406 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007259/0.201, allocations: 0.7182 MB / 406.7 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.201, allocations: 1.219 kB / 406.7 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.2012, allocations: 48.62 kB / 406.7 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2013, allocations: 5.25 kB / 406.8 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.2013, allocations: 6.469 kB / 406.8 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2013, allocations: 2.406 kB / 406.8 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2013, allocations: 1.188 kB / 406.8 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.2017, allocations: 375.5 kB / 407.1 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2018, allocations: 131.1 kB / 407.3 MB, free: 38.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.2019, allocations: 14.38 kB / 407.3 MB, free: 38.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.2021, allocations: 6.281 kB / 407.3 MB, free: 38.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2021, allocations: 14.88 kB / 407.3 MB, free: 38.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2021, allocations: 8.438 kB / 407.3 MB, free: 38.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.2024, allocations: 310.2 kB / 407.6 MB, free: 38.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2024, allocations: 0 / 407.6 MB, free: 38.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.2028, allocations: 97.12 kB / 407.7 MB, free: 38.63 MB / 318.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 9.09e-05/0.2029, allocations: 117.4 kB / 407.8 MB, free: 38.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.2032, allocations: 177.4 kB / 408 MB, free: 38.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2032, allocations: 192 / 408 MB, free: 38.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2033, allocations: 68.81 kB / 408.1 MB, free: 38.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.2039, allocations: 141.5 kB / 408.2 MB, free: 38.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.205, allocations: 0.7491 MB / 408.9 MB, free: 37.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.2052, allocations: 0.8174 MB / 409.8 MB, free: 37.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.2053, allocations: 62.41 kB / 409.8 MB, free: 37.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.2054, allocations: 37.36 kB / 409.9 MB, free: 37.04 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2054, allocations: 0.8438 kB / 409.9 MB, free: 37.04 MB / 318.1 MB Notification: Performance of Templates: time 0.007641/0.213, allocations: 5.691 MB / 415.5 MB, free: 31.46 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)