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.001544/0.001544, allocations: 109.4 kB / 16.41 MB, free: 6.457 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.001532/0.001532, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06309/0.06309, allocations: 11.84 MB / 282.4 MB, free: 200 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.002241/0.002241, allocations: 72.47 kB / 393 MB, free: 45.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06104/0.06328, allocations: 49.23 MB / 442.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003932/0.06721, allocations: 3.357 MB / 445.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.06887, allocations: 0.8424 MB / 446.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.06907, allocations: 7.938 kB / 446.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.06928, allocations: 63.42 kB / 446.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005411/0.06982, allocations: 190.7 kB / 446.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.07008, allocations: 103.8 kB / 446.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007578/0.07083, allocations: 0.6376 MB / 447.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.07116, allocations: 186.1 kB / 447.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.07148, allocations: 227.2 kB / 447.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.07187, allocations: 258.9 kB / 448.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.07194, allocations: 40 kB / 448.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.07208, allocations: 55.98 kB / 448.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.0722, allocations: 107.7 kB / 448.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.07249, allocations: 262.8 kB / 448.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.07314, allocations: 0.5215 MB / 449.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.07315, allocations: 4 kB / 449.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07315, allocations: 0 / 449.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.07316, allocations: 3.984 kB / 449.1 MB, free: 11.18 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.001196/0.07436, allocations: 0.713 MB / 449.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.07439, allocations: 11.89 kB / 449.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.07458, allocations: 56.61 kB / 449.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.07507, allocations: 338.7 kB / 450.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.07511, allocations: 41.12 kB / 450.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.07518, allocations: 36 kB / 450.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006912/0.07587, allocations: 386.4 kB / 450.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.07589, allocations: 3.953 kB / 450.6 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.07594, allocations: 19.98 kB / 450.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.07595, allocations: 11.98 kB / 450.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005573/0.07651, allocations: 295.8 kB / 451 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.07885, allocations: 1.716 MB / 452.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.0792, allocations: 142.8 kB / 452.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.07939, allocations: 76.81 kB / 452.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.07942, allocations: 4 kB / 452.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.07944, allocations: 38.56 kB / 452.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.07944, allocations: 0 / 452.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005252/0.07997, allocations: 232 kB / 453.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.08001, allocations: 59.34 kB / 453.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005107/0.08052, allocations: 417.7 kB / 453.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.08055, allocations: 29.7 kB / 453.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.08075, allocations: 247.9 kB / 453.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.0808, allocations: 63.48 kB / 454 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.08089, allocations: 57.64 kB / 454 MB, free: 5.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.08107, allocations: 350.7 kB / 454.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.08124, allocations: 81.64 kB / 454.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.08147, allocations: 161.9 kB / 454.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.08186, allocations: 251.9 kB / 454.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.08186, allocations: 0 / 454.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005316/0.08239, allocations: 297.3 kB / 455.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.08241, allocations: 8 kB / 455.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.08241, allocations: 4 kB / 455.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.08243, allocations: 4 kB / 455.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.08272, allocations: 67.89 kB / 455.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.08274, allocations: 11.92 kB / 455.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.08297, allocations: 43.62 kB / 455.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.08299, allocations: 19.98 kB / 455.3 MB, free: 4.52 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.0002239/0.08322, allocations: 185.8 kB / 455.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.08329, allocations: 43.72 kB / 455.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.08372, allocations: 200.1 kB / 455.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.08372, allocations: 0 / 455.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.08372, allocations: 0 / 455.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.08373, allocations: 3.984 kB / 455.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.08478, allocations: 0.7349 MB / 456.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.08479, allocations: 7.938 kB / 456.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.085, allocations: 39.97 kB / 456.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.085, allocations: 0 / 456.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.08502, allocations: 7.938 kB / 456.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.08502, allocations: 4.125 kB / 456.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.08503, allocations: 11.98 kB / 456.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.08557, allocations: 374.5 kB / 456.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.08573, allocations: 136.9 kB / 457 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.08579, allocations: 11.89 kB / 457 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.08599, allocations: 11.98 kB / 457 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.08603, allocations: 7.984 kB / 457 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.08604, allocations: 12 kB / 457.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003685/0.08641, allocations: 299.1 kB / 457.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08641, allocations: 3.938 kB / 457.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.08682, allocations: 103.8 kB / 457.5 MB, free: 2.215 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.0001368/0.08696, allocations: 111.2 kB / 457.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.08733, allocations: 160.8 kB / 457.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.08733, allocations: 0 / 457.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.08747, allocations: 68.72 kB / 457.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/0.08813, allocations: 141.6 kB / 457.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.08948, allocations: 0.7485 MB / 458.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.08997, allocations: 0.827 MB / 459.5 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.09016, allocations: 68.14 kB / 459.6 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.09026, allocations: 27.48 kB / 459.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.09026, allocations: 0 / 459.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Templates: time 0.01175/0.102, allocations: 5.813 MB / 465.4 MB, free: 10.25 MB / 350.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)