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.001398/0.001398, allocations: 101.9 kB / 16.4 MB, free: 6.406 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.001409/0.001409, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05327/0.05327, allocations: 11.84 MB / 282.4 MB, free: 208 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.001498/0.001498, allocations: 69.34 kB / 393 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08764/0.08915, allocations: 49.24 MB / 442.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003825/0.09302, allocations: 3.344 MB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.09442, allocations: 0.8463 MB / 446.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.09459, allocations: 8 kB / 446.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.0948, allocations: 59.42 kB / 446.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.09527, allocations: 182.7 kB / 446.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.0955, allocations: 103.8 kB / 446.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000595/0.09611, allocations: 0.6376 MB / 447.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.09649, allocations: 258 kB / 447.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.09675, allocations: 227.2 kB / 447.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.09707, allocations: 258.9 kB / 448.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.09714, allocations: 40 kB / 448.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.09728, allocations: 52 kB / 448.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.09739, allocations: 111.7 kB / 448.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.09763, allocations: 266.8 kB / 448.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.09815, allocations: 0.5141 MB / 449.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.09817, allocations: 0 / 449.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09817, allocations: 3.938 kB / 449.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.09819, allocations: 0 / 449.1 MB, free: 11.14 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.001029/0.09922, allocations: 0.7017 MB / 449.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.09927, allocations: 19.89 kB / 449.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.09946, allocations: 52.38 kB / 449.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.09986, allocations: 338.5 kB / 450.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.0999, allocations: 33.12 kB / 450.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.09997, allocations: 36 kB / 450.3 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.1006, allocations: 382.4 kB / 450.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1006, allocations: 4 kB / 450.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.1007, allocations: 12 kB / 450.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1007, allocations: 16 kB / 450.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.1011, allocations: 287.8 kB / 451 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.1032, allocations: 1.723 MB / 452.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1035, allocations: 150.8 kB / 452.8 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.1037, allocations: 84.81 kB / 452.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1037, allocations: 0 / 452.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1037, allocations: 42.5 kB / 453 MB, free: 6.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.685e-06/0.1037, allocations: 3.984 kB / 453 MB, free: 6.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004647/0.1042, allocations: 219.7 kB / 453.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.1043, allocations: 59.41 kB / 453.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.1047, allocations: 425.6 kB / 453.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1047, allocations: 29.7 kB / 453.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1049, allocations: 235.6 kB / 453.9 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.1049, allocations: 67.03 kB / 454 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.105, allocations: 53.69 kB / 454 MB, free: 5.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1051, allocations: 350.7 kB / 454.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1053, allocations: 81.66 kB / 454.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1055, allocations: 165.8 kB / 454.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.1058, allocations: 251.9 kB / 454.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1058, allocations: 0 / 454.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00045/0.1063, allocations: 300.8 kB / 455.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1063, allocations: 8 kB / 455.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1063, allocations: 4 kB / 455.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1063, allocations: 4 kB / 455.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.1066, allocations: 72.33 kB / 455.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1066, allocations: 7.938 kB / 455.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.1068, allocations: 43.44 kB / 455.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.1069, allocations: 16 kB / 455.3 MB, free: 4.492 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.000199/0.1071, allocations: 177.7 kB / 455.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.1071, allocations: 39.53 kB / 455.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.1075, allocations: 208.3 kB / 455.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1076, allocations: 0 / 455.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1076, allocations: 3.938 kB / 455.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1076, allocations: 4 kB / 455.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008641/0.1084, allocations: 0.7155 MB / 456.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1085, allocations: 8.125 kB / 456.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.1086, allocations: 39.97 kB / 456.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1087, allocations: 3.938 kB / 456.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1087, allocations: 11.94 kB / 456.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1087, allocations: 0 / 456.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.1087, allocations: 7.938 kB / 456.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.1092, allocations: 374.3 kB / 456.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1093, allocations: 136.6 kB / 457 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.1094, allocations: 7.938 kB / 457 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.1096, allocations: 8 kB / 457 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.1096, allocations: 11.92 kB / 457 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1096, allocations: 20.05 kB / 457.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.1099, allocations: 303.1 kB / 457.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1099, allocations: 0 / 457.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.1103, allocations: 95.84 kB / 457.5 MB, free: 2.207 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.0001438/0.1105, allocations: 107.2 kB / 457.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.1108, allocations: 169.5 kB / 457.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1108, allocations: 4 kB / 457.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.111, allocations: 75.78 kB / 457.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.1116, allocations: 137.7 kB / 457.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1129, allocations: 0.7782 MB / 458.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1133, allocations: 0.8153 MB / 459.5 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.1134, allocations: 35.42 kB / 459.6 MB, free: 8 kB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1134, allocations: 0 / 459.6 MB, free: 8 kB / 334.1 MB Notification: Performance of Templates: time 0.007609/0.121, allocations: 5.715 MB / 465.3 MB, free: 10.33 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)