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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.PumpTestSimple,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001105, allocations: 100.1 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.001231/0.001231, allocations: 177.3 kB / 15.95 MB, free: 216 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.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05099/0.05099, allocations: 11.85 MB / 282.2 MB, free: 9.715 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.0006272/0.0006273, allocations: 20.22 kB / 343 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09321/0.09384, allocations: 50.21 MB / 393.2 MB, free: 4.172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.003745/0.09763, allocations: 3.498 MB / 396.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.09922, allocations: 0.9792 MB / 397.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.09946, allocations: 11.94 kB / 397.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.09964, allocations: 63.5 kB / 397.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.1002, allocations: 287.1 kB / 398 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1004, allocations: 63.92 kB / 398.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.1009, allocations: 443.1 kB / 398.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.1012, allocations: 185 kB / 398.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.1014, allocations: 179.3 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.1016, allocations: 199.2 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.1017, allocations: 23.94 kB / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1018, allocations: 35.98 kB / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.1019, allocations: 71.75 kB / 399.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.102, allocations: 121.5 kB / 399.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.1023, allocations: 395.2 kB / 399.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1023, allocations: 0 / 399.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1023, allocations: 3.938 kB / 399.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1024, allocations: 0 / 399.7 MB, free: 13.62 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.0008951/0.1033, allocations: 0.6314 MB / 400.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1033, allocations: 12.03 kB / 400.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.869e-05/0.1034, allocations: 78.53 kB / 400.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.1036, allocations: 59.38 kB / 400.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.104, allocations: 325.4 kB / 400.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.104, allocations: 29 kB / 400.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.1041, allocations: 43.94 kB / 400.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/0.1047, allocations: 382.4 kB / 401.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1047, allocations: 3.906 kB / 401.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.1047, allocations: 20 kB / 401.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1048, allocations: 12 kB / 401.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.1053, allocations: 291.8 kB / 401.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.1073, allocations: 1.719 MB / 403.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.1076, allocations: 157.4 kB / 403.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.1076, allocations: 11.97 kB / 403.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1077, allocations: 38.5 kB / 403.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.1077, allocations: 0 / 403.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004544/0.1081, allocations: 233.4 kB / 403.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.1082, allocations: 59.41 kB / 403.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.1086, allocations: 421.5 kB / 404.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1086, allocations: 25.7 kB / 404.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1088, allocations: 231.6 kB / 404.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.1088, allocations: 59.11 kB / 404.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.1089, allocations: 7.938 kB / 404.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.109, allocations: 350.8 kB / 404.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1091, allocations: 85.08 kB / 404.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1093, allocations: 165.9 kB / 405.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1095, allocations: 99.86 kB / 405.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1095, allocations: 0 / 405.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004544/0.11, allocations: 300.9 kB / 405.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.11, allocations: 11.98 kB / 405.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.11, allocations: 4 kB / 405.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.11, allocations: 4 kB / 405.5 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.1103, allocations: 67.89 kB / 405.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1103, allocations: 8 kB / 405.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.1106, allocations: 43.81 kB / 405.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.1106, allocations: 16 kB / 405.6 MB, free: 7.277 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.0002131/0.1108, allocations: 189.5 kB / 405.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.1109, allocations: 35.53 kB / 405.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.1113, allocations: 215.4 kB / 406.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1113, allocations: 8 kB / 406.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1113, allocations: 0 / 406.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1113, allocations: 0 / 406.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.1121, allocations: 0.6537 MB / 406.7 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1121, allocations: 8.125 kB / 406.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.1123, allocations: 43.91 kB / 406.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1124, allocations: 0 / 406.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1124, allocations: 12 kB / 406.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1124, allocations: 7.984 kB / 406.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1124, allocations: 3.984 kB / 406.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.1129, allocations: 445.1 kB / 407.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1131, allocations: 144.6 kB / 407.4 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.1131, allocations: 0 / 407.4 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.1133, allocations: 8 kB / 407.4 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1134, allocations: 11.98 kB / 407.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1134, allocations: 11.98 kB / 407.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.1137, allocations: 299.1 kB / 407.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1137, allocations: 0 / 407.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.1141, allocations: 95.84 kB / 407.8 MB, free: 4.957 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.0008191/0.1149, allocations: 1.255 MB / 409.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.1153, allocations: 175.9 kB / 409.2 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1153, allocations: 0 / 409.2 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1154, allocations: 71.84 kB / 409.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.116, allocations: 138.4 kB / 409.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.1196, allocations: 4.365 MB / 413.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.12, allocations: 0.8386 MB / 414.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.1202, allocations: 60.16 kB / 414.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.1204, allocations: 127.4 kB / 414.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1204, allocations: 0 / 414.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.1396, allocations: 8.712 MB / 423.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.1398, allocations: 182.4 kB / 423.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.835, allocations: 0 / 423.7 MB, free: 4.855 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_PumpTestSimple.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) Environment - environmentSimulation: