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.0009643/0.0009647, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009383/0.0009384, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05271/0.05271, allocations: 11.85 MB / 282.2 MB, free: 9.707 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.0006839/0.0006842, allocations: 18.28 kB / 342.9 MB, free: 22.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1429, allocations: 50.23 MB / 393.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002881/0.1459, allocations: 1.842 MB / 395 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.1492, allocations: 1.731 MB / 396.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.1494, allocations: 4 kB / 396.7 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1498, allocations: 35.75 kB / 396.8 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.1503, allocations: 107.2 kB / 396.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1514, allocations: 251.2 kB / 397.1 MB, free: 256 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.1517, allocations: 163.1 kB / 397.3 MB, free: 92 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1519, allocations: 21.55 kB / 397.3 MB, free: 72 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.152, allocations: 51.8 kB / 397.3 MB, free: 20 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1522, allocations: 67.75 kB / 397.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1522, allocations: 8 kB / 397.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.1528, allocations: 211.7 kB / 397.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.1529, allocations: 23.84 kB / 397.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.1529, allocations: 57.58 kB / 397.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.1534, allocations: 199.8 kB / 397.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1535, allocations: 0 / 397.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1535, allocations: 0 / 397.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1535, allocations: 0 / 397.9 MB, free: 15.46 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000905/0.1544, allocations: 446.7 kB / 398.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.1545, allocations: 12.03 kB / 398.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.1546, allocations: 15.81 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1549, allocations: 202.8 kB / 398.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.155, allocations: 11.98 kB / 398.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.155, allocations: 12 kB / 398.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.1553, allocations: 121.6 kB / 398.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1553, allocations: 0 / 398.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.1554, allocations: 8 kB / 398.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1554, allocations: 0 / 398.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.1557, allocations: 119.9 kB / 398.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.1572, allocations: 0.9227 MB / 399.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1574, allocations: 58.5 kB / 399.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.1575, allocations: 32.97 kB / 399.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.1577, allocations: 81.11 kB / 399.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.1577, allocations: 30.56 kB / 399.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.1577, allocations: 3.938 kB / 400 MB, free: 13.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003666/0.1581, allocations: 105.6 kB / 400.1 MB, free: 13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1582, allocations: 51.41 kB / 400.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.1584, allocations: 211.7 kB / 400.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1584, allocations: 29.7 kB / 400.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1586, allocations: 124 kB / 400.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1586, allocations: 23.73 kB / 400.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.1586, allocations: 0 / 400.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1588, allocations: 326.8 kB / 400.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.067e-05/0.1589, allocations: 27.98 kB / 400.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.1589, allocations: 24 kB / 400.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.657e-05/0.159, allocations: 36.11 kB / 400.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.159, allocations: 0 / 400.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002639/0.1593, allocations: 121.5 kB / 401 MB, free: 12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1594, allocations: 6.5 kB / 401 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1594, allocations: 0 / 401 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1594, allocations: 0 / 401 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1595, allocations: 19.98 kB / 401 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1595, allocations: 0 / 401 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.1596, allocations: 11.84 kB / 401 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1596, allocations: 4 kB / 401 MB, free: 11.96 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.1598, allocations: 129.7 kB / 401.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.1598, allocations: 19.81 kB / 401.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.1601, allocations: 102.7 kB / 401.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1601, allocations: 0 / 401.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1601, allocations: 3.984 kB / 401.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1601, allocations: 0 / 401.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.1607, allocations: 391.2 kB / 401.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1607, allocations: 4 kB / 401.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1608, allocations: 12.03 kB / 401.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.1608, allocations: 0 / 401.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1608, allocations: 0 / 401.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1608, allocations: 0 / 401.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1608, allocations: 7.938 kB / 401.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.1611, allocations: 180.2 kB / 401.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.1612, allocations: 112.9 kB / 402 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.1612, allocations: 12.3 kB / 402 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.1613, allocations: 0 / 402 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.1613, allocations: 8 kB / 402 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1613, allocations: 0 / 402 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.1615, allocations: 155 kB / 402.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1615, allocations: 0 / 402.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.1619, allocations: 75.98 kB / 402.2 MB, free: 10.66 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003958/0.1623, allocations: 183 kB / 402.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1625, allocations: 55.97 kB / 402.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/0.1626, allocations: 4 kB / 402.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.353e-05/0.1626, allocations: 23.94 kB / 402.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.1632, allocations: 48.11 kB / 402.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.1639, allocations: 306.6 kB / 402.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.1642, allocations: 0.7126 MB / 403.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.1644, allocations: 21.55 kB / 403.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.1644, allocations: 15.44 kB / 403.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1644, allocations: 4 kB / 403.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of Templates: time 0.008515/0.1729, allocations: 3.1 MB / 406.7 MB, free: 6.172 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) Environment - environmentSimulation: