Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001111/0.001111, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.252/1.252, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05603/0.05603, allocations: 11.85 MB / 282.4 MB, free: 228 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.001518/0.001518, allocations: 68.61 kB / 343.3 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1897, allocations: 49.21 MB / 392.5 MB, free: 49.42 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002831/0.1926, allocations: 1.927 MB / 394.4 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1948, allocations: 1.869 MB / 396.3 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1949, allocations: 2.844 kB / 396.3 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1952, allocations: 38.12 kB / 396.3 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1955, allocations: 88.06 kB / 396.4 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008131/0.1963, allocations: 344.5 kB / 396.7 MB, free: 46.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1965, allocations: 177.5 kB / 396.9 MB, free: 46.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1966, allocations: 29.12 kB / 396.9 MB, free: 46.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.1967, allocations: 59.23 kB / 397 MB, free: 46.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1968, allocations: 62.05 kB / 397.1 MB, free: 46.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1969, allocations: 9.562 kB / 397.1 MB, free: 46.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005038/0.1974, allocations: 238.6 kB / 397.3 MB, free: 46.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.1974, allocations: 24.23 kB / 397.3 MB, free: 46.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.1975, allocations: 78.77 kB / 397.4 MB, free: 46.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.198, allocations: 279.7 kB / 397.7 MB, free: 46.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.198, allocations: 0 / 397.7 MB, free: 46.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.198, allocations: 0 / 397.7 MB, free: 46.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.198, allocations: 1.312 kB / 397.7 MB, free: 46.11 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005188/0.1985, allocations: 476 kB / 398.1 MB, free: 45.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1986, allocations: 12.45 kB / 398.1 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.1986, allocations: 21.28 kB / 398.2 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1989, allocations: 220.8 kB / 398.4 MB, free: 45.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1989, allocations: 9.969 kB / 398.4 MB, free: 45.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1989, allocations: 14.66 kB / 398.4 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1992, allocations: 120.5 kB / 398.5 MB, free: 45.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1992, allocations: 0 / 398.5 MB, free: 45.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1992, allocations: 4.969 kB / 398.5 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1992, allocations: 7.516 kB / 398.5 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.1994, allocations: 119.4 kB / 398.7 MB, free: 45.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/0.2003, allocations: 0.9186 MB / 399.6 MB, free: 44.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.2005, allocations: 57.2 kB / 399.6 MB, free: 44.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.2005, allocations: 26.2 kB / 399.7 MB, free: 44.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/0.2006, allocations: 89.73 kB / 399.7 MB, free: 44.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.2007, allocations: 32.34 kB / 399.8 MB, free: 44.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.2007, allocations: 0 / 399.8 MB, free: 44.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002567/0.2009, allocations: 103.2 kB / 399.9 MB, free: 44.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.201, allocations: 51.41 kB / 399.9 MB, free: 44.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2011, allocations: 209.3 kB / 400.1 MB, free: 43.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.2011, allocations: 25.7 kB / 400.2 MB, free: 43.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.2012, allocations: 128.5 kB / 400.3 MB, free: 43.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.2012, allocations: 20.03 kB / 400.3 MB, free: 43.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.2013, allocations: 30.38 kB / 400.3 MB, free: 43.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.52e-05/0.2013, allocations: 326.5 kB / 400.6 MB, free: 43.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.2014, allocations: 30.94 kB / 400.7 MB, free: 43.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.2015, allocations: 31.7 kB / 400.7 MB, free: 43.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.2016, allocations: 59.36 kB / 400.8 MB, free: 43.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2016, allocations: 0 / 400.8 MB, free: 43.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.2018, allocations: 116 kB / 400.9 MB, free: 43.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2018, allocations: 11.31 kB / 400.9 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2018, allocations: 0 / 400.9 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2018, allocations: 5.062 kB / 400.9 MB, free: 43.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.2019, allocations: 18.08 kB / 400.9 MB, free: 43.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.202, allocations: 1.031 kB / 400.9 MB, free: 43.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.202, allocations: 15 kB / 400.9 MB, free: 43.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2021, allocations: 7.297 kB / 400.9 MB, free: 43.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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 6.703e-05/0.2021, allocations: 124.1 kB / 401.1 MB, free: 43.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.2022, allocations: 13.69 kB / 401.1 MB, free: 43.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.2024, allocations: 102.6 kB / 401.2 MB, free: 43.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2024, allocations: 1.219 kB / 401.2 MB, free: 43.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2024, allocations: 1.125 kB / 401.2 MB, free: 43.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2024, allocations: 320 / 401.2 MB, free: 43.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.2028, allocations: 384.8 kB / 401.6 MB, free: 42.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2028, allocations: 4.938 kB / 401.6 MB, free: 42.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.2029, allocations: 16.58 kB / 401.6 MB, free: 42.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2029, allocations: 7.969 kB / 401.6 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2029, allocations: 2.25 kB / 401.6 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2029, allocations: 1.125 kB / 401.6 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2029, allocations: 0 / 401.6 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.203, allocations: 187.5 kB / 401.8 MB, free: 42.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.2031, allocations: 101.9 kB / 401.9 MB, free: 42.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2031, allocations: 5.688 kB / 401.9 MB, free: 42.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.2032, allocations: 4 kB / 401.9 MB, free: 42.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.2032, allocations: 5.594 kB / 401.9 MB, free: 42.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2032, allocations: 2.5 kB / 401.9 MB, free: 42.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.2034, allocations: 159.4 kB / 402 MB, free: 42.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2034, allocations: 0 / 402 MB, free: 42.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.2037, allocations: 75.88 kB / 402.1 MB, free: 42.21 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * 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.0002628/0.204, allocations: 187.5 kB / 402.3 MB, free: 42.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.2042, allocations: 61.44 kB / 402.4 MB, free: 42.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2042, allocations: 0 / 402.4 MB, free: 42.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.834e-05/0.2043, allocations: 25.34 kB / 402.4 MB, free: 42.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2046, allocations: 46.36 kB / 402.4 MB, free: 42.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.205, allocations: 268.5 kB / 402.7 MB, free: 41.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2051, allocations: 0.7082 MB / 403.4 MB, free: 41.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.492e-05/0.2052, allocations: 26.39 kB / 403.4 MB, free: 41.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.2053, allocations: 16.84 kB / 403.4 MB, free: 41.07 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2053, allocations: 0 / 403.4 MB, free: 41.07 MB / 318.1 MB Notification: Performance of Templates: time 0.006122/0.2114, allocations: 3.303 MB / 406.7 MB, free: 39.43 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)