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.001166/0.001167, allocations: 100 kB / 15.05 MB, free: 1.105 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.001426/0.001427, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05335/0.05335, allocations: 11.84 MB / 282.2 MB, free: 9.492 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.0006479/0.0006481, allocations: 12 kB / 342.9 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1016, allocations: 50.22 MB / 393.1 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004122/0.1058, allocations: 3.502 MB / 396.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1077, allocations: 0.9753 MB / 397.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004268/0.1082, allocations: 15.94 kB / 397.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1085, allocations: 59.53 kB / 397.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009143/0.1094, allocations: 287.1 kB / 397.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1098, allocations: 67.92 kB / 398 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007917/0.1106, allocations: 443.1 kB / 398.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.1109, allocations: 181 kB / 398.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.1113, allocations: 179.3 kB / 398.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.1117, allocations: 203.2 kB / 399 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.1117, allocations: 20 kB / 399 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1119, allocations: 35.94 kB / 399 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.112, allocations: 75.73 kB / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1121, allocations: 117.5 kB / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.1126, allocations: 391.3 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1126, allocations: 3.938 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1126, allocations: 0 / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1126, allocations: 0 / 399.6 MB, free: 13.69 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.00107/0.1137, allocations: 0.6392 MB / 400.2 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1137, allocations: 8.031 kB / 400.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.1139, allocations: 55.39 kB / 400.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.1144, allocations: 329.4 kB / 400.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.1144, allocations: 25 kB / 400.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.1145, allocations: 44 kB / 400.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.1151, allocations: 382.4 kB / 401.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1151, allocations: 7.891 kB / 401.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1152, allocations: 16 kB / 401.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1152, allocations: 12 kB / 401.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.1157, allocations: 291.8 kB / 401.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.1179, allocations: 1.731 MB / 403.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.1183, allocations: 150.8 kB / 403.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1183, allocations: 3.984 kB / 403.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1184, allocations: 34.56 kB / 403.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.947e-06/0.1184, allocations: 3.984 kB / 403.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005139/0.1189, allocations: 233.3 kB / 403.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.1189, allocations: 55.41 kB / 403.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.1194, allocations: 425.5 kB / 404 MB, free: 8.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1194, allocations: 25.7 kB / 404 MB, free: 8.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.1196, allocations: 239.6 kB / 404.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.1197, allocations: 63.09 kB / 404.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.1197, allocations: 4 kB / 404.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1199, allocations: 350.8 kB / 404.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.12, allocations: 81.03 kB / 404.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.1202, allocations: 169.9 kB / 404.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.1204, allocations: 87.94 kB / 405 MB, free: 7.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.1204, allocations: 4 kB / 405 MB, free: 7.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004893/0.1209, allocations: 304.7 kB / 405.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.121, allocations: 8 kB / 405.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.121, allocations: 4 kB / 405.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.121, allocations: 4.438 kB / 405.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.1213, allocations: 79.89 kB / 405.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1213, allocations: 4 kB / 405.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.1215, allocations: 43.52 kB / 405.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1216, allocations: 12 kB / 405.5 MB, free: 7.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.1218, allocations: 185.6 kB / 405.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.1219, allocations: 43.48 kB / 405.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.1222, allocations: 215.5 kB / 405.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1223, allocations: 0 / 405.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1223, allocations: 0 / 405.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1223, allocations: 3.984 kB / 405.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/0.1231, allocations: 0.6709 MB / 406.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1232, allocations: 4 kB / 406.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.1234, allocations: 39.97 kB / 406.6 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1234, allocations: 4 kB / 406.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1234, allocations: 4 kB / 406.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.1234, allocations: 11.94 kB / 406.6 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1234, allocations: 0 / 406.6 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.124, allocations: 440.7 kB / 407.1 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.1242, allocations: 136.6 kB / 407.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.1242, allocations: 4 kB / 407.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1244, allocations: 7.984 kB / 407.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.1245, allocations: 19.92 kB / 407.2 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.1245, allocations: 4.062 kB / 407.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003329/0.1248, allocations: 307.1 kB / 407.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1248, allocations: 0 / 407.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000399/0.1252, allocations: 99.83 kB / 407.6 MB, free: 5.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.1254, allocations: 99.25 kB / 407.7 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.1258, allocations: 184 kB / 407.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1258, allocations: 0 / 407.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.1259, allocations: 75.84 kB / 408 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.1265, allocations: 130.1 kB / 408.1 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1278, allocations: 0.8893 MB / 409 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1283, allocations: 0.8308 MB / 409.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002162/0.1285, allocations: 60.16 kB / 409.9 MB, free: 2.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.1286, allocations: 35.44 kB / 409.9 MB, free: 2.742 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1286, allocations: 0 / 409.9 MB, free: 2.742 MB / 302.1 MB Notification: Performance of Templates: time 0.009985/0.1385, allocations: 5.178 MB / 415.1 MB, free: 13.62 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: