Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.00126/0.00126, allocations: 172.7 kB / 15.95 MB, free: 208 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.835/1.835, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05301/0.05301, allocations: 11.85 MB / 282.2 MB, free: 9.332 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.0006211/0.0006211, allocations: 16 kB / 342.9 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1241, allocations: 50.22 MB / 393.1 MB, free: 4.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003795/0.1279, allocations: 2.722 MB / 395.9 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.1317, allocations: 2.141 MB / 398 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.132, allocations: 7.938 kB / 398 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.1325, allocations: 83.55 kB / 398.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006273/0.1331, allocations: 190.7 kB / 398.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1342, allocations: 335 kB / 398.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.1347, allocations: 342.2 kB / 398.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.1349, allocations: 49 kB / 399 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.1352, allocations: 119.5 kB / 399.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.1354, allocations: 139.3 kB / 399.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.1355, allocations: 12 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.136, allocations: 255.8 kB / 399.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1361, allocations: 59.7 kB / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.1362, allocations: 73.58 kB / 399.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.1367, allocations: 363.1 kB / 400 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1367, allocations: 4 kB / 400 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1367, allocations: 0 / 400 MB, free: 13.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1367, allocations: 0 / 400 MB, free: 13.27 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008643/0.1376, allocations: 0.5919 MB / 400.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.1377, allocations: 8.031 kB / 400.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.1378, allocations: 39.58 kB / 400.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.1381, allocations: 286.3 kB / 400.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.1382, allocations: 16.44 kB / 400.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.1382, allocations: 24 kB / 401 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.1386, allocations: 223.2 kB / 401.2 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1386, allocations: 0 / 401.2 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.1387, allocations: 8 kB / 401.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1387, allocations: 4 kB / 401.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.1391, allocations: 249.6 kB / 401.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.141, allocations: 1.325 MB / 402.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.1414, allocations: 181.3 kB / 402.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.1416, allocations: 80.88 kB / 403 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.1418, allocations: 178.1 kB / 403.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1419, allocations: 34.56 kB / 403.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1419, allocations: 4 kB / 403.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02318/0.1651, allocations: 2.848 MB / 406.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.1652, allocations: 55.41 kB / 406.1 MB, free: 6.75 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.1657, allocations: 357.5 kB / 406.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.47e-05/0.1658, allocations: 33.7 kB / 406.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.166, allocations: 176.7 kB / 406.7 MB, free: 6.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.1661, allocations: 102.5 kB / 406.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.1662, allocations: 12 kB / 406.8 MB, free: 6.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1664, allocations: 342.8 kB / 407.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008064/0.1672, allocations: 299.8 kB / 407.4 MB, free: 5.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008068/0.168, allocations: 334.2 kB / 407.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008426/0.1689, allocations: 311.7 kB / 408 MB, free: 4.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1689, allocations: 0 / 408 MB, free: 4.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003163/0.172, allocations: 0.9709 MB / 409 MB, free: 3.801 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.1721, allocations: 11.89 kB / 409 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1721, allocations: 0 / 409 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.1743, allocations: 1.04 MB / 410.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.1746, allocations: 63.95 kB / 410.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.1777, allocations: 1.741 MB / 411.9 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/0.1784, allocations: 52.06 kB / 411.9 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.1784, allocations: 15.98 kB / 411.9 MB, free: 0.8203 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.1787, allocations: 162.9 kB / 412.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.1788, allocations: 35.53 kB / 412.1 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/0.1818, allocations: 0.9818 MB / 413.1 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.1819, allocations: 7.953 kB / 413.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1819, allocations: 0 / 413.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1819, allocations: 0 / 413.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004948/0.1869, allocations: 1.873 MB / 415 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.1869, allocations: 4 kB / 415 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.1872, allocations: 47.97 kB / 415 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.1891, allocations: 0.907 MB / 416 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/0.1891, allocations: 11.98 kB / 416 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.1921, allocations: 1.682 MB / 417.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1921, allocations: 0 / 417.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.1945, allocations: 0.8968 MB / 418.5 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.1948, allocations: 176.6 kB / 418.7 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/0.1948, allocations: 7.953 kB / 418.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.1954, allocations: 51.95 kB / 418.8 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.1955, allocations: 23.91 kB / 418.8 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.1955, allocations: 19.98 kB / 418.8 MB, free: 9.742 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.1958, allocations: 255.2 kB / 419.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1958, allocations: 0 / 419.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008239/0.1967, allocations: 231.9 kB / 419.3 MB, free: 9.266 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.1981, allocations: 0.5263 MB / 419.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.2005, allocations: 0.7066 MB / 420.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2005, allocations: 0 / 420.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.2019, allocations: 383.9 kB / 420.9 MB, free: 7.766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.2026, allocations: 85.39 kB / 421 MB, free: 7.684 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.2044, allocations: 0.8768 MB / 421.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.2048, allocations: 0.784 MB / 422.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.2051, allocations: 58.86 kB / 422.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.2052, allocations: 31.42 kB / 422.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2052, allocations: 0 / 422.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of Templates: time 0.2411/0.4463, allocations: 15.94 MB / 438.7 MB, free: 38.51 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile Environment - environmentSimulation: (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) Environment - environmentSimulation: