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.001463/0.001463, allocations: 104.8 kB / 16.29 MB, free: 6.016 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.001704/0.001704, allocations: 187.3 kB / 17.22 MB, free: 5.621 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.312/1.312, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05552/0.05552, allocations: 11.85 MB / 282.3 MB, free: 316 kB / 222.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.001537/0.001537, allocations: 67.91 kB / 342.6 MB, free: 3.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1995, allocations: 49.21 MB / 391.8 MB, free: 48.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.00375/0.2033, allocations: 3.336 MB / 395.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2045, allocations: 0.8518 MB / 395.9 MB, free: 45.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.2047, allocations: 5.531 kB / 396 MB, free: 45.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.2049, allocations: 58.77 kB / 396 MB, free: 45.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.2053, allocations: 193.7 kB / 396.2 MB, free: 45.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2055, allocations: 101.5 kB / 396.3 MB, free: 45.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.206, allocations: 0.6254 MB / 396.9 MB, free: 45.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.2064, allocations: 264.7 kB / 397.2 MB, free: 45.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.2066, allocations: 220.5 kB / 397.4 MB, free: 45.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.2069, allocations: 262.2 kB / 397.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.2069, allocations: 40.03 kB / 397.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.2071, allocations: 51.48 kB / 397.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.049e-05/0.2072, allocations: 108.6 kB / 397.9 MB, free: 44.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.2074, allocations: 259.8 kB / 398.1 MB, free: 44.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.2079, allocations: 0.526 MB / 398.6 MB, free: 44.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2079, allocations: 0 / 398.6 MB, free: 44.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2079, allocations: 4 kB / 398.6 MB, free: 44.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.2079, allocations: 0 / 398.6 MB, free: 44.56 MB / 318.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.0008556/0.2088, allocations: 0.6993 MB / 399.3 MB, free: 44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2088, allocations: 13.98 kB / 399.3 MB, free: 44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.209, allocations: 57.17 kB / 399.4 MB, free: 43.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.2093, allocations: 334.6 kB / 399.7 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.2094, allocations: 40.81 kB / 399.8 MB, free: 43.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.2094, allocations: 38.27 kB / 399.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.21, allocations: 380.4 kB / 400.2 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2101, allocations: 2.328 kB / 400.2 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.2101, allocations: 14.81 kB / 400.2 MB, free: 43.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.2101, allocations: 8.875 kB / 400.2 MB, free: 43.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.2106, allocations: 291.1 kB / 400.5 MB, free: 43.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.2123, allocations: 1.722 MB / 402.2 MB, free: 41.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.2126, allocations: 153.7 kB / 402.4 MB, free: 41.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.2128, allocations: 91.88 kB / 402.5 MB, free: 41.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2128, allocations: 2.25 kB / 402.5 MB, free: 41.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.2128, allocations: 31.75 kB / 402.5 MB, free: 41.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.2128, allocations: 0 / 402.5 MB, free: 41.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004384/0.2133, allocations: 225.1 kB / 402.7 MB, free: 41.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.2133, allocations: 53.56 kB / 402.8 MB, free: 41.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.2137, allocations: 422.4 kB / 403.2 MB, free: 41.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2137, allocations: 34.86 kB / 403.2 MB, free: 41.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2138, allocations: 229.6 kB / 403.4 MB, free: 41.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.2139, allocations: 67.17 kB / 403.5 MB, free: 40.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.2139, allocations: 58.33 kB / 403.5 MB, free: 40.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.214, allocations: 352.4 kB / 403.9 MB, free: 40.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.2142, allocations: 85.11 kB / 404 MB, free: 40.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.2143, allocations: 158.9 kB / 404.1 MB, free: 40.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.2146, allocations: 247.1 kB / 404.4 MB, free: 40.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2146, allocations: 1.219 kB / 404.4 MB, free: 40.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004242/0.215, allocations: 294.4 kB / 404.7 MB, free: 40 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2151, allocations: 10.44 kB / 404.7 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2151, allocations: 3.094 kB / 404.7 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2151, allocations: 6.094 kB / 404.7 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.2154, allocations: 74.27 kB / 404.8 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.2154, allocations: 5 kB / 404.8 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.2156, allocations: 49.62 kB / 404.8 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.2156, allocations: 18.89 kB / 404.8 MB, free: 39.93 MB / 318.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.0001772/0.2158, allocations: 177 kB / 405 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.2159, allocations: 41.86 kB / 405 MB, free: 39.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.2162, allocations: 205.6 kB / 405.2 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2163, allocations: 1.656 kB / 405.2 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2163, allocations: 0 / 405.2 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2163, allocations: 5 kB / 405.2 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.217, allocations: 0.7167 MB / 406 MB, free: 38.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.217, allocations: 5.5 kB / 406 MB, free: 38.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.2172, allocations: 43.88 kB / 406 MB, free: 38.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2172, allocations: 5.469 kB / 406 MB, free: 38.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.2173, allocations: 6.406 kB / 406 MB, free: 38.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2173, allocations: 6.594 kB / 406 MB, free: 38.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2173, allocations: 1.438 kB / 406 MB, free: 38.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.2177, allocations: 373.5 kB / 406.4 MB, free: 38.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.2178, allocations: 130.3 kB / 406.5 MB, free: 38.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.2179, allocations: 10.91 kB / 406.5 MB, free: 38.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.218, allocations: 6 kB / 406.5 MB, free: 38.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.2181, allocations: 14.73 kB / 406.6 MB, free: 38.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2181, allocations: 9.297 kB / 406.6 MB, free: 38.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.2184, allocations: 305.4 kB / 406.9 MB, free: 38.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2184, allocations: 4.062 kB / 406.9 MB, free: 38.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.2188, allocations: 97.03 kB / 407 MB, free: 38.32 MB / 318.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.0001025/0.2189, allocations: 112.7 kB / 407.1 MB, free: 38.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.2192, allocations: 181.8 kB / 407.2 MB, free: 38.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2193, allocations: 0.875 kB / 407.2 MB, free: 38.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2194, allocations: 68.16 kB / 407.3 MB, free: 38.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.22, allocations: 144.3 kB / 407.5 MB, free: 38.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2211, allocations: 0.7488 MB / 408.2 MB, free: 37.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.2213, allocations: 0.822 MB / 409 MB, free: 36.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.2215, allocations: 58.23 kB / 409.1 MB, free: 36.74 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.2216, allocations: 37.83 kB / 409.1 MB, free: 36.73 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2216, allocations: 0 / 409.1 MB, free: 36.73 MB / 318.1 MB Notification: Performance of Templates: time 0.008523/0.2301, allocations: 5.684 MB / 414.8 MB, free: 31.48 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile (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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)