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.000693/0.000693, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.003886/0.003886, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.214/1.214, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05017/0.05017, allocations: 11.85 MB / 282.6 MB, free: 9.383 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.0005614/0.0005614, allocations: 12 kB / 343.6 MB, free: 22.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07655/0.07712, allocations: 50.21 MB / 393.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004082/0.08123, allocations: 4.055 MB / 397.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.08292, allocations: 0.9512 MB / 398.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.08321, allocations: 8 kB / 398.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.08339, allocations: 51.61 kB / 398.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004763/0.08388, allocations: 166.9 kB / 399.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.08409, allocations: 91.86 kB / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006481/0.08475, allocations: 0.661 MB / 399.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.08507, allocations: 221.2 kB / 400 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.08533, allocations: 187.2 kB / 400.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.08563, allocations: 234.9 kB / 400.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.08568, allocations: 20 kB / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.0858, allocations: 32 kB / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.0859, allocations: 83.66 kB / 400.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.08613, allocations: 256.5 kB / 400.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.08657, allocations: 0.4907 MB / 401.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.08659, allocations: 0 / 401.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0866, allocations: 0 / 401.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.08661, allocations: 8 kB / 401.3 MB, free: 12.21 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.0008555/0.08747, allocations: 0.6277 MB / 402 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.08752, allocations: 8.031 kB / 402 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.848e-05/0.08761, allocations: 82.72 kB / 402.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.08777, allocations: 56.38 kB / 402.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.08814, allocations: 338.5 kB / 402.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.08818, allocations: 32.94 kB / 402.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.08824, allocations: 36 kB / 402.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.08886, allocations: 386.4 kB / 402.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.08889, allocations: 3.906 kB / 402.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.08893, allocations: 16 kB / 402.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.08894, allocations: 12 kB / 402.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.08944, allocations: 295.8 kB / 403.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.09139, allocations: 1.727 MB / 404.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.09171, allocations: 158.7 kB / 405.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.0919, allocations: 84.81 kB / 405.2 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.09193, allocations: 7.984 kB / 405.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.09196, allocations: 34.5 kB / 405.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.09196, allocations: 0 / 405.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004418/0.09241, allocations: 233.1 kB / 405.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.09245, allocations: 55.34 kB / 405.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.09289, allocations: 433.5 kB / 405.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.09292, allocations: 29.7 kB / 405.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.09307, allocations: 219.7 kB / 406.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.09312, allocations: 63.09 kB / 406.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.09317, allocations: 29.72 kB / 406.2 MB, free: 6.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.09331, allocations: 354.7 kB / 406.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.09346, allocations: 81.08 kB / 406.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.09366, allocations: 173.8 kB / 406.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.094, allocations: 252.6 kB / 407.1 MB, free: 6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.09401, allocations: 4 kB / 407.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004514/0.09447, allocations: 293.2 kB / 407.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.09449, allocations: 4 kB / 407.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.0945, allocations: 4 kB / 407.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.09452, allocations: 4 kB / 407.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.09477, allocations: 71.89 kB / 407.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.09479, allocations: 11.94 kB / 407.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.09501, allocations: 47.38 kB / 407.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.09504, allocations: 16.08 kB / 407.5 MB, free: 5.547 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.0001954/0.09524, allocations: 181.7 kB / 407.7 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.0953, allocations: 31.62 kB / 407.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.09568, allocations: 207.3 kB / 407.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.0957, allocations: 7.938 kB / 408 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.09571, allocations: 4 kB / 408 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.09572, allocations: 0 / 408 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008778/0.0966, allocations: 0.7194 MB / 408.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.09662, allocations: 8.125 kB / 408.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.0968, allocations: 47.95 kB / 408.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.09681, allocations: 3.938 kB / 408.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.09683, allocations: 8 kB / 408.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.09684, allocations: 0 / 408.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.09685, allocations: 7.938 kB / 408.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.09731, allocations: 378.4 kB / 409.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.09745, allocations: 136.5 kB / 409.3 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.09752, allocations: 19.86 kB / 409.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.09769, allocations: 4 kB / 409.3 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.09774, allocations: 23.92 kB / 409.3 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.09775, allocations: 4 kB / 409.3 MB, free: 3.629 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.09807, allocations: 311.1 kB / 409.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09807, allocations: 0 / 409.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.09845, allocations: 95.84 kB / 409.7 MB, free: 3.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.0007431/0.0992, allocations: 0.9303 MB / 410.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.09952, allocations: 175.8 kB / 410.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.09953, allocations: 0 / 410.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.09966, allocations: 65.03 kB / 410.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.1003, allocations: 141.3 kB / 411 MB, free: 1.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.1047, allocations: 3.972 MB / 415 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1051, allocations: 0.8192 MB / 415.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.1053, allocations: 64.16 kB / 415.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.1055, allocations: 127.4 kB / 416 MB, free: 12.7 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1055, allocations: 0 / 416 MB, free: 12.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.1265, allocations: 9 MB / 425 MB, free: 3.777 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.1267, allocations: 201.3 kB / 425.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.696, allocations: 3.938 kB / 425.2 MB, free: 3.512 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)