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.001352/0.001352, allocations: 108.4 kB / 16.41 MB, free: 6.465 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.001255/0.001255, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05411/0.05411, allocations: 11.84 MB / 282.4 MB, free: 220 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.001491/0.001491, allocations: 77.86 kB / 393 MB, free: 45.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08904, allocations: 49.23 MB / 442.2 MB, free: 2.086 MB / 318.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) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003578/0.09266, allocations: 2.802 MB / 445 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003172/0.09585, allocations: 2.283 MB / 447.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.09602, allocations: 8 kB / 447.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.09641, allocations: 91.38 kB / 447.4 MB, free: 12.87 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.09687, allocations: 178.8 kB / 447.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.09774, allocations: 442.5 kB / 448 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.09814, allocations: 382.2 kB / 448.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.0983, allocations: 68.67 kB / 448.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.09851, allocations: 139.4 kB / 448.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.09873, allocations: 151.3 kB / 448.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.09878, allocations: 20 kB / 448.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.09925, allocations: 287.7 kB / 449 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.154e-05/0.09935, allocations: 63.69 kB / 449.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.0995, allocations: 151.2 kB / 449.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.1001, allocations: 498.6 kB / 449.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1001, allocations: 4 kB / 449.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1001, allocations: 0 / 449.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1002, allocations: 0 / 449.7 MB, free: 10.53 MB / 334.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.0008636/0.101, allocations: 0.6504 MB / 450.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1011, allocations: 11.89 kB / 450.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.1012, allocations: 32.56 kB / 450.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.1015, allocations: 303.4 kB / 450.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1015, allocations: 16.38 kB / 450.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1016, allocations: 24 kB / 450.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.102, allocations: 219.2 kB / 451 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.102, allocations: 0 / 451 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.1021, allocations: 12 kB / 451 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1021, allocations: 4 kB / 451 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.1025, allocations: 249.5 kB / 451.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.104, allocations: 1.325 MB / 452.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.1044, allocations: 169.7 kB / 452.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.1045, allocations: 80.83 kB / 452.8 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.1047, allocations: 170.2 kB / 453 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1048, allocations: 50.38 kB / 453 MB, free: 6.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.1048, allocations: 0 / 453 MB, free: 6.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.02668/0.1315, allocations: 2.731 MB / 455.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1315, allocations: 55.41 kB / 455.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.1319, allocations: 345.7 kB / 456.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.132, allocations: 33.7 kB / 456.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1321, allocations: 176.7 kB / 456.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1323, allocations: 110.4 kB / 456.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.1324, allocations: 77.66 kB / 456.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1326, allocations: 346.8 kB / 456.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008227/0.1334, allocations: 283.8 kB / 457.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008402/0.1343, allocations: 326.8 kB / 457.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.1359, allocations: 0.5765 MB / 458.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.136, allocations: 0 / 458.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00265/0.1386, allocations: 0.8928 MB / 459 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1386, allocations: 4 kB / 459 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1387, allocations: 0 / 459 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/0.1408, allocations: 1.04 MB / 460 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.1411, allocations: 59.89 kB / 460.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/0.1464, allocations: 1.827 MB / 461.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.1471, allocations: 39.91 kB / 461.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/0.1472, allocations: 19.92 kB / 461.9 MB, free: 13.82 MB / 350.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.1474, allocations: 161.8 kB / 462.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.1476, allocations: 39.53 kB / 462.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/0.151, allocations: 0.9819 MB / 463.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.1511, allocations: 7.938 kB / 463.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1511, allocations: 0 / 463.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1511, allocations: 0 / 463.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005531/0.1566, allocations: 1.854 MB / 465 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.1566, allocations: 4.062 kB / 465 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.1569, allocations: 51.91 kB / 465 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.1588, allocations: 0.8641 MB / 465.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.1588, allocations: 24.09 kB / 465.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004956/0.1638, allocations: 1.749 MB / 467.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1638, allocations: 0 / 467.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.1663, allocations: 0.8705 MB / 468.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.1666, allocations: 168.6 kB / 468.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.1667, allocations: 15.94 kB / 468.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.1673, allocations: 43.95 kB / 468.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.1674, allocations: 15.97 kB / 468.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.1674, allocations: 19.98 kB / 468.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002985/0.1678, allocations: 255.2 kB / 469 MB, free: 6.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1678, allocations: 4 kB / 469.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007592/0.1685, allocations: 231.9 kB / 469.3 MB, free: 6.277 MB / 350.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/0.1701, allocations: 0.5232 MB / 469.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004701/0.1748, allocations: 0.769 MB / 470.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1748, allocations: 0 / 470.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003335/0.1781, allocations: 464.3 kB / 471 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.1788, allocations: 96.7 kB / 471.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1806, allocations: 0.802 MB / 471.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.181, allocations: 0.7762 MB / 472.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.1811, allocations: 43.41 kB / 472.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1811, allocations: 0 / 472.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of Templates: time 0.01538/0.1965, allocations: 10.74 MB / 483.5 MB, free: 8.152 MB / 366.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile (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)