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.001087/0.001087, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001372/0.001372, allocations: 191.3 kB / 16.13 MB, free: 6.66 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.484/1.484, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05436/0.05436, allocations: 11.84 MB / 281.2 MB, free: 9.629 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.001334/0.001334, allocations: 67.73 kB / 341.1 MB, free: 22.44 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09717, allocations: 49.23 MB / 390.4 MB, free: 5.16 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.005197/0.1024, allocations: 4.433 MB / 394.8 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1042, allocations: 0.9706 MB / 395.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.1044, allocations: 8 kB / 395.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.1047, allocations: 47.62 kB / 395.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.1051, allocations: 170.9 kB / 396 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.1053, allocations: 79.88 kB / 396.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005903/0.1059, allocations: 0.6649 MB / 396.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.1062, allocations: 225.2 kB / 397 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.1065, allocations: 207.2 kB / 397.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.1068, allocations: 250.9 kB / 397.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.1068, allocations: 28 kB / 397.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.107, allocations: 40 kB / 397.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1071, allocations: 91.66 kB / 397.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.1073, allocations: 242.8 kB / 397.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.1078, allocations: 0.5025 MB / 398.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1078, allocations: 0 / 398.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1078, allocations: 4 kB / 398.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1078, allocations: 0 / 398.3 MB, free: 13.18 MB / 302.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.001022/0.1088, allocations: 0.7057 MB / 399 MB, free: 12.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1089, allocations: 8.031 kB / 399 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.109, allocations: 52.38 kB / 399.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.1095, allocations: 338.4 kB / 399.4 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.1095, allocations: 33.12 kB / 399.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.1096, allocations: 47.94 kB / 399.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.1102, allocations: 382.4 kB / 399.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1102, allocations: 0 / 399.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.1102, allocations: 16 kB / 399.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1103, allocations: 16 kB / 399.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.1107, allocations: 287.8 kB / 400.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1128, allocations: 1.723 MB / 401.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.1131, allocations: 150.7 kB / 402 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.1133, allocations: 88.81 kB / 402.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1133, allocations: 0 / 402.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1134, allocations: 34.56 kB / 402.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.1134, allocations: 0 / 402.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004926/0.1139, allocations: 227.5 kB / 402.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1139, allocations: 55.41 kB / 402.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.1144, allocations: 429.6 kB / 402.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1144, allocations: 25.7 kB / 402.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.1146, allocations: 239.6 kB / 403.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.1146, allocations: 59.11 kB / 403.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.1147, allocations: 61.59 kB / 403.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1149, allocations: 350.7 kB / 403.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.1151, allocations: 77.38 kB / 403.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1153, allocations: 169.8 kB / 403.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.1156, allocations: 252.6 kB / 404.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1157, allocations: 0 / 404.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004648/0.1161, allocations: 288.8 kB / 404.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1162, allocations: 8 kB / 404.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1162, allocations: 4 kB / 404.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1162, allocations: 7.938 kB / 404.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.1165, allocations: 72.33 kB / 404.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.1165, allocations: 7.938 kB / 404.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1167, allocations: 47.52 kB / 404.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1168, allocations: 12 kB / 404.5 MB, free: 6.527 MB / 302.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.0002325/0.117, allocations: 185.6 kB / 404.7 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.1171, allocations: 39.53 kB / 404.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.1175, allocations: 193.2 kB / 404.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1175, allocations: 8 kB / 404.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1175, allocations: 0 / 404.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1175, allocations: 3.938 kB / 404.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009582/0.1185, allocations: 0.7193 MB / 405.6 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1185, allocations: 4.125 kB / 405.6 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.1187, allocations: 47.91 kB / 405.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1187, allocations: 0 / 405.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1187, allocations: 11.94 kB / 405.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1188, allocations: 7.969 kB / 405.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1188, allocations: 4 kB / 405.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.1193, allocations: 377.6 kB / 406.1 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.1194, allocations: 132.6 kB / 406.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.1195, allocations: 11.94 kB / 406.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1197, allocations: 7.984 kB / 406.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.1197, allocations: 11.98 kB / 406.2 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1198, allocations: 12.06 kB / 406.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000304/0.1201, allocations: 303.1 kB / 406.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1201, allocations: 0 / 406.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003955/0.1205, allocations: 103.8 kB / 406.6 MB, free: 4.234 MB / 302.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.0001409/0.1206, allocations: 99.19 kB / 406.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.121, allocations: 175.9 kB / 406.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.121, allocations: 0 / 406.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.1211, allocations: 71.84 kB / 407 MB, free: 3.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.1219, allocations: 141.6 kB / 407.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1234, allocations: 0.8912 MB / 408 MB, free: 2.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.1238, allocations: 0.8231 MB / 408.8 MB, free: 1.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.124, allocations: 60.16 kB / 408.9 MB, free: 1.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.1241, allocations: 31.44 kB / 408.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1241, allocations: 4 kB / 408.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of Templates: time 0.01121/0.1353, allocations: 5.418 MB / 414.3 MB, free: 12.52 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)