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.001178/0.001178, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001178/0.001178, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.172/1.172, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04962/0.04962, allocations: 11.83 MB / 281.3 MB, free: 9.578 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.001324/0.001324, allocations: 67.5 kB / 341.4 MB, free: 22.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0631/0.06443, allocations: 49.23 MB / 390.6 MB, free: 4.945 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004673/0.06913, allocations: 4.441 MB / 395.1 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.07067, allocations: 0.9667 MB / 396.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.07093, allocations: 8 kB / 396.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.07112, allocations: 43.62 kB / 396.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.07157, allocations: 170.9 kB / 396.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.07177, allocations: 83.88 kB / 396.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.07234, allocations: 0.6299 MB / 397 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.07267, allocations: 262 kB / 397.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.07293, allocations: 223.2 kB / 397.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.07322, allocations: 258.9 kB / 397.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.07328, allocations: 40 kB / 397.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.07341, allocations: 59.98 kB / 397.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.0735, allocations: 99.69 kB / 397.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.07372, allocations: 266.8 kB / 398.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.07415, allocations: 0.5142 MB / 398.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.07416, allocations: 0 / 398.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.07417, allocations: 4 kB / 398.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.07419, allocations: 0 / 398.7 MB, free: 12.86 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.0008933/0.07508, allocations: 0.7056 MB / 399.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.07512, allocations: 15.83 kB / 399.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.224e-05/0.0752, allocations: 78.72 kB / 399.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.07535, allocations: 56.36 kB / 399.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.07571, allocations: 338.5 kB / 399.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.07574, allocations: 32.94 kB / 399.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.0758, allocations: 40 kB / 399.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.0764, allocations: 386.4 kB / 400.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.07643, allocations: 7.891 kB / 400.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.07647, allocations: 16 kB / 400.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.07648, allocations: 8 kB / 400.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.07694, allocations: 291.8 kB / 400.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.07873, allocations: 1.719 MB / 402.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.07903, allocations: 154.8 kB / 402.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.0792, allocations: 84.81 kB / 402.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.07922, allocations: 0 / 402.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.07926, allocations: 34.56 kB / 402.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.074e-06/0.07926, allocations: 0 / 402.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004083/0.07968, allocations: 227.5 kB / 402.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.07971, allocations: 51.41 kB / 402.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.08014, allocations: 437.5 kB / 403.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.08017, allocations: 25.7 kB / 403.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.0803, allocations: 223.7 kB / 403.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.08035, allocations: 67.09 kB / 403.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.08043, allocations: 57.61 kB / 403.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.08055, allocations: 354.7 kB / 404 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.08069, allocations: 77.36 kB / 404.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.08087, allocations: 165.9 kB / 404.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.08118, allocations: 252.5 kB / 404.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.0812, allocations: 0 / 404.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004244/0.08162, allocations: 297.1 kB / 404.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.08164, allocations: 4 kB / 404.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.08166, allocations: 8 kB / 404.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.08167, allocations: 8 kB / 404.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.08192, allocations: 67.89 kB / 404.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.08194, allocations: 11.94 kB / 404.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.08214, allocations: 43.47 kB / 404.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.08217, allocations: 15.98 kB / 405 MB, free: 6.113 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.0001695/0.08235, allocations: 181.8 kB / 405.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.08241, allocations: 39.53 kB / 405.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.08275, allocations: 197.2 kB / 405.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.08276, allocations: 4 kB / 405.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.08277, allocations: 0 / 405.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.08278, allocations: 0 / 405.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000816/0.0836, allocations: 0.7309 MB / 406.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.08361, allocations: 0 / 406.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.08379, allocations: 39.97 kB / 406.1 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.08381, allocations: 7.938 kB / 406.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.08383, allocations: 4.125 kB / 406.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.08384, allocations: 8 kB / 406.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.08384, allocations: 0 / 406.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.08429, allocations: 385.1 kB / 406.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.08442, allocations: 132.5 kB / 406.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.08448, allocations: 11.94 kB / 406.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.08465, allocations: 0 / 406.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.0847, allocations: 15.98 kB / 406.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.08471, allocations: 7.984 kB / 406.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.085, allocations: 311.1 kB / 407 MB, free: 3.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.08501, allocations: 0 / 407 MB, free: 3.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.08536, allocations: 95.84 kB / 407.1 MB, free: 3.836 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.0006558/0.08602, allocations: 0.9256 MB / 408 MB, free: 2.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.08634, allocations: 171.7 kB / 408.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.08635, allocations: 0 / 408.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.08647, allocations: 72.91 kB / 408.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.08705, allocations: 149.4 kB / 408.4 MB, free: 2.492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.09108, allocations: 3.915 MB / 412.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.09143, allocations: 0.8192 MB / 413.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.09163, allocations: 64.16 kB / 413.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.09178, allocations: 131.4 kB / 413.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.09179, allocations: 0 / 413.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2344/0.3262, allocations: 9.368 MB / 422.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.3264, allocations: 198.2 kB / 422.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.114, allocations: 0 / 422.9 MB, free: 3.797 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/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)