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.001051/0.001051, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001022/0.001022, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.25/1.25, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05589/0.05589, allocations: 11.84 MB / 282.4 MB, free: 256 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.00149/0.00149, allocations: 67.89 kB / 343.3 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1895, allocations: 49.21 MB / 392.5 MB, free: 49.42 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003479/0.193, allocations: 2.804 MB / 395.3 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.1955, allocations: 2.274 MB / 397.6 MB, free: 45.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1956, allocations: 7.688 kB / 397.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.1959, allocations: 94.73 kB / 397.7 MB, free: 45.8 MB / 318.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.0003682/0.1963, allocations: 174.9 kB / 397.8 MB, free: 45.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.1971, allocations: 450.5 kB / 398.3 MB, free: 45.48 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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0003354/0.1975, allocations: 375.7 kB / 398.6 MB, free: 45.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1976, allocations: 63.27 kB / 398.7 MB, free: 45.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1978, allocations: 143.9 kB / 398.8 MB, free: 45.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.198, allocations: 151.8 kB / 399 MB, free: 45.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.198, allocations: 19.19 kB / 399 MB, free: 45.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.1984, allocations: 281.8 kB / 399.3 MB, free: 45.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.1985, allocations: 68.97 kB / 399.4 MB, free: 45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1986, allocations: 149.5 kB / 399.5 MB, free: 44.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.1992, allocations: 0.5011 MB / 400 MB, free: 44.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1992, allocations: 4 kB / 400 MB, free: 44.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1992, allocations: 0 / 400 MB, free: 44.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1992, allocations: 5.312 kB / 400 MB, free: 44.6 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007146/0.1999, allocations: 0.6349 MB / 400.6 MB, free: 44.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2, allocations: 13.89 kB / 400.7 MB, free: 44.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.2, allocations: 32.94 kB / 400.7 MB, free: 44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.2004, allocations: 303.6 kB / 401 MB, free: 43.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2004, allocations: 20.41 kB / 401 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.2004, allocations: 20.81 kB / 401 MB, free: 43.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.2008, allocations: 226.8 kB / 401.2 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2008, allocations: 0 / 401.2 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2008, allocations: 5.969 kB / 401.3 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2008, allocations: 4.562 kB / 401.3 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.2012, allocations: 248.8 kB / 401.5 MB, free: 43.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.2024, allocations: 1.326 MB / 402.8 MB, free: 42.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.2028, allocations: 159.3 kB / 403 MB, free: 41.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.203, allocations: 88.95 kB / 403.1 MB, free: 41.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.2031, allocations: 173.3 kB / 403.2 MB, free: 41.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.2032, allocations: 43.81 kB / 403.3 MB, free: 41.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.2032, allocations: 0 / 403.3 MB, free: 41.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.02699/0.2302, allocations: 2.732 MB / 406 MB, free: 40.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.2302, allocations: 54.03 kB / 406.1 MB, free: 40.24 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.2306, allocations: 363.1 kB / 406.4 MB, free: 40.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.2307, allocations: 30.77 kB / 406.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.2308, allocations: 172.3 kB / 406.6 MB, free: 39.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.2308, allocations: 107.2 kB / 406.7 MB, free: 39.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.231, allocations: 81.34 kB / 406.8 MB, free: 39.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.478e-05/0.2311, allocations: 342.8 kB / 407.1 MB, free: 39.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008243/0.2319, allocations: 288.1 kB / 407.4 MB, free: 39.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008228/0.2328, allocations: 328 kB / 407.7 MB, free: 39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.2344, allocations: 0.5791 MB / 408.3 MB, free: 38.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2344, allocations: 1.344 kB / 408.3 MB, free: 38.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002548/0.237, allocations: 0.8916 MB / 409.2 MB, free: 37.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.237, allocations: 4 kB / 409.2 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.237, allocations: 4 kB / 409.2 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.2389, allocations: 1.032 MB / 410.3 MB, free: 36.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.2392, allocations: 59.89 kB / 410.3 MB, free: 36.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/0.2443, allocations: 1.819 MB / 412.1 MB, free: 34.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.2449, allocations: 43.92 kB / 412.2 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.245, allocations: 24.05 kB / 412.2 MB, free: 34.86 MB / 318.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.0001729/0.2452, allocations: 154.4 kB / 412.3 MB, free: 34.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-05/0.2453, allocations: 35.53 kB / 412.4 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/0.2485, allocations: 0.9858 MB / 413.4 MB, free: 33.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2486, allocations: 7.922 kB / 413.4 MB, free: 33.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2486, allocations: 8 kB / 413.4 MB, free: 33.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2486, allocations: 0 / 413.4 MB, free: 33.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/0.2538, allocations: 1.843 MB / 415.2 MB, free: 31.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2538, allocations: 0 / 415.2 MB, free: 31.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.2541, allocations: 59.89 kB / 415.3 MB, free: 31.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.2558, allocations: 0.8682 MB / 416.2 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.2559, allocations: 15.98 kB / 416.2 MB, free: 30.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004691/0.2606, allocations: 1.753 MB / 417.9 MB, free: 28.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2606, allocations: 0 / 417.9 MB, free: 28.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.2628, allocations: 0.8744 MB / 418.8 MB, free: 28.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.263, allocations: 180.4 kB / 419 MB, free: 27.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.2631, allocations: 8 kB / 419 MB, free: 27.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.2637, allocations: 31.97 kB / 419 MB, free: 27.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.2638, allocations: 23.97 kB / 419 MB, free: 27.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.2638, allocations: 23.97 kB / 419.1 MB, free: 27.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.264, allocations: 255.2 kB / 419.3 MB, free: 27.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.264, allocations: 0 / 419.3 MB, free: 27.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006426/0.2647, allocations: 227.9 kB / 419.5 MB, free: 27.32 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 (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.001249/0.2659, allocations: 0.5321 MB / 420.1 MB, free: 26.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004665/0.2706, allocations: 0.7727 MB / 420.8 MB, free: 26.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2706, allocations: 0 / 420.8 MB, free: 26.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003404/0.274, allocations: 468.3 kB / 421.3 MB, free: 25.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.2745, allocations: 101.5 kB / 421.4 MB, free: 25.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2759, allocations: 0.7496 MB / 422.1 MB, free: 24.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.2761, allocations: 0.7801 MB / 422.9 MB, free: 24.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.2763, allocations: 50.94 kB / 423 MB, free: 24.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.2763, allocations: 35.42 kB / 423 MB, free: 23.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2764, allocations: 4 kB / 423 MB, free: 23.98 MB / 318.1 MB Notification: Performance of Templates: time 0.0158/0.2922, allocations: 14.86 MB / 437.9 MB, free: 9.117 MB / 318.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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)