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.001093/0.001093, 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.001087/0.001087, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.106/1.106, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04857/0.04857, allocations: 11.83 MB / 281.2 MB, free: 9.664 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.001301/0.001301, allocations: 67.34 kB / 341.2 MB, free: 22.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06353/0.06484, allocations: 49.23 MB / 390.5 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004419/0.06928, allocations: 4.433 MB / 394.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.07047, allocations: 0.9668 MB / 395.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.07063, allocations: 11.94 kB / 395.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.07078, allocations: 39.69 kB / 395.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.07113, allocations: 174.9 kB / 396.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.0713, allocations: 83.92 kB / 396.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.07181, allocations: 0.6648 MB / 396.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.07209, allocations: 221.2 kB / 397.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.07229, allocations: 203.2 kB / 397.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.07254, allocations: 251 kB / 397.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.07259, allocations: 28 kB / 397.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.07271, allocations: 36 kB / 397.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.547e-05/0.0728, allocations: 99.53 kB / 397.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.07301, allocations: 238.9 kB / 397.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.07341, allocations: 0.5025 MB / 398.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.07343, allocations: 12 kB / 398.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.07343, allocations: 0 / 398.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.07344, allocations: 0 / 398.4 MB, free: 13.06 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.0008615/0.07431, allocations: 0.694 MB / 399.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.07435, allocations: 8.031 kB / 399.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.428e-05/0.07442, allocations: 86.64 kB / 399.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.07457, allocations: 56.38 kB / 399.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.07491, allocations: 342.4 kB / 399.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.07493, allocations: 32.94 kB / 399.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.07499, allocations: 36 kB / 399.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.07555, allocations: 382.4 kB / 400 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.07558, allocations: 3.906 kB / 400 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.07561, allocations: 16 kB / 400 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.07563, allocations: 11.98 kB / 400.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.07608, allocations: 291.8 kB / 400.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.07785, allocations: 1.723 MB / 402.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.07814, allocations: 150.7 kB / 402.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.07831, allocations: 80.81 kB / 402.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.07834, allocations: 8 kB / 402.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.07837, allocations: 30.56 kB / 402.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.07837, allocations: 0 / 402.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004119/0.07879, allocations: 236.2 kB / 402.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.07883, allocations: 55.34 kB / 402.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.07921, allocations: 425.5 kB / 403 MB, free: 8.109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.07924, allocations: 33.7 kB / 403.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.07938, allocations: 231.7 kB / 403.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.07942, allocations: 59.11 kB / 403.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.0795, allocations: 61.59 kB / 403.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.07962, allocations: 354.7 kB / 403.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.07976, allocations: 77.38 kB / 403.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.07994, allocations: 161.9 kB / 404 MB, free: 7.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.08024, allocations: 252.5 kB / 404.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.08025, allocations: 4 kB / 404.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004302/0.08069, allocations: 293 kB / 404.5 MB, free: 6.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.08071, allocations: 7.938 kB / 404.5 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.08072, allocations: 4 kB / 404.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.08074, allocations: 7.938 kB / 404.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.081, allocations: 71.89 kB / 404.6 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.08102, allocations: 8 kB / 404.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.08122, allocations: 47.45 kB / 404.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.08124, allocations: 16.28 kB / 404.7 MB, free: 6.324 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.0001708/0.08142, allocations: 177.7 kB / 404.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.08148, allocations: 39.53 kB / 404.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.08183, allocations: 205.1 kB / 405.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.08184, allocations: 4 kB / 405.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.08185, allocations: 0 / 405.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.08186, allocations: 3.984 kB / 405.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007931/0.08266, allocations: 0.7218 MB / 405.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.08267, allocations: 0 / 405.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.08285, allocations: 43.92 kB / 405.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.08287, allocations: 12.06 kB / 405.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.08288, allocations: 3.984 kB / 405.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.08289, allocations: 4 kB / 405.9 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0829, allocations: 0 / 405.9 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.08334, allocations: 381 kB / 406.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.08346, allocations: 140.6 kB / 406.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.08352, allocations: 11.92 kB / 406.4 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.08369, allocations: 4 kB / 406.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.08373, allocations: 11.98 kB / 406.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.08375, allocations: 4 kB / 406.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002847/0.08404, allocations: 311.1 kB / 406.7 MB, free: 4.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08405, allocations: 64 / 406.7 MB, free: 4.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.08439, allocations: 99.84 kB / 406.8 MB, free: 4.035 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.000674/0.08507, allocations: 0.9216 MB / 407.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.08537, allocations: 163.8 kB / 407.9 MB, free: 2.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.08538, allocations: 0 / 407.9 MB, free: 2.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.0855, allocations: 72.78 kB / 408 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.0861, allocations: 137.6 kB / 408.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.09006, allocations: 3.904 MB / 412 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.0904, allocations: 0.8308 MB / 412.8 MB, free: 13.76 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.09058, allocations: 56.17 kB / 412.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.09073, allocations: 127.4 kB / 413 MB, free: 13.58 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09074, allocations: 0 / 413 MB, free: 13.58 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.1084, allocations: 9.106 MB / 422.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.1087, allocations: 194.1 kB / 422.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.704, allocations: 7.938 kB / 422.3 MB, free: 4.27 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)