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.001326/0.001326, allocations: 106 kB / 16.27 MB, free: 6.41 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.001222/0.001222, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.299/1.299, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05201/0.05201, allocations: 11.84 MB / 282.3 MB, free: 288 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.001503/0.001503, allocations: 83.8 kB / 342.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2054, allocations: 49.2 MB / 391.7 MB, free: 49.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003532/0.2089, allocations: 2.822 MB / 394.5 MB, free: 47.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.2118, allocations: 2.264 MB / 396.8 MB, free: 45.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.212, allocations: 2.719 kB / 396.8 MB, free: 45.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.2124, allocations: 96.66 kB / 396.9 MB, free: 45.46 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.0004681/0.2129, allocations: 182.3 kB / 397.1 MB, free: 45.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2139, allocations: 440.5 kB / 397.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.2143, allocations: 373.1 kB / 397.9 MB, free: 44.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.2145, allocations: 71.28 kB / 397.9 MB, free: 44.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.2147, allocations: 134.8 kB / 398.1 MB, free: 44.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.2149, allocations: 159.8 kB / 398.2 MB, free: 44.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.215, allocations: 20.22 kB / 398.2 MB, free: 44.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005659/0.2155, allocations: 277.8 kB / 398.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.416e-05/0.2156, allocations: 61.62 kB / 398.6 MB, free: 44.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.2158, allocations: 157.6 kB / 398.7 MB, free: 44.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006593/0.2164, allocations: 0.4963 MB / 399.2 MB, free: 44.37 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2165, allocations: 0 / 399.2 MB, free: 44.37 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2165, allocations: 0 / 399.2 MB, free: 44.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2165, allocations: 4 kB / 399.2 MB, free: 44.37 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.0007864/0.2173, allocations: 0.6253 MB / 399.9 MB, free: 43.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2173, allocations: 12.27 kB / 399.9 MB, free: 43.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.2174, allocations: 34.5 kB / 399.9 MB, free: 43.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2177, allocations: 310.4 kB / 400.2 MB, free: 43.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2177, allocations: 16.09 kB / 400.2 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.2177, allocations: 25.52 kB / 400.2 MB, free: 43.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.2181, allocations: 222 kB / 400.5 MB, free: 43.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2181, allocations: 0 / 400.5 MB, free: 43.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.2182, allocations: 10.19 kB / 400.5 MB, free: 43.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2182, allocations: 4.594 kB / 400.5 MB, free: 43.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.2186, allocations: 247.9 kB / 400.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.2198, allocations: 1.328 MB / 402 MB, free: 41.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.2202, allocations: 172.4 kB / 402.2 MB, free: 41.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2204, allocations: 79.92 kB / 402.3 MB, free: 41.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.2205, allocations: 176.8 kB / 402.5 MB, free: 41.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2205, allocations: 43.72 kB / 402.5 MB, free: 41.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.2205, allocations: 1.188 kB / 402.5 MB, free: 41.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.0268/0.2473, allocations: 2.733 MB / 405.2 MB, free: 40.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.2474, allocations: 55.62 kB / 405.3 MB, free: 40.04 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.0004345/0.2478, allocations: 354.3 kB / 405.6 MB, free: 39.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.2479, allocations: 30.89 kB / 405.7 MB, free: 39.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.248, allocations: 172.4 kB / 405.8 MB, free: 39.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/0.2481, allocations: 102.9 kB / 405.9 MB, free: 39.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.2483, allocations: 85.91 kB / 406 MB, free: 39.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.2483, allocations: 347.1 kB / 406.4 MB, free: 39.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008049/0.2491, allocations: 287.1 kB / 406.6 MB, free: 38.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/0.2499, allocations: 322.7 kB / 407 MB, free: 38.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.2515, allocations: 0.5846 MB / 407.5 MB, free: 38.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2516, allocations: 0 / 407.5 MB, free: 38.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002651/0.2542, allocations: 0.8948 MB / 408.4 MB, free: 38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2542, allocations: 4 kB / 408.4 MB, free: 38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.2543, allocations: 0 / 408.4 MB, free: 38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.2561, allocations: 1.04 MB / 409.5 MB, free: 36.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.2564, allocations: 55.91 kB / 409.5 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004911/0.2613, allocations: 1.819 MB / 411.4 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.262, allocations: 43.97 kB / 411.4 MB, free: 34.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.262, allocations: 31.97 kB / 411.4 MB, free: 34.95 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.0002083/0.2622, allocations: 146.5 kB / 411.6 MB, free: 34.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.2624, allocations: 39.53 kB / 411.6 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.2656, allocations: 0.9858 MB / 412.6 MB, free: 33.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2656, allocations: 7.938 kB / 412.6 MB, free: 33.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2656, allocations: 0 / 412.6 MB, free: 33.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2656, allocations: 7.922 kB / 412.6 MB, free: 33.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004988/0.2706, allocations: 1.85 MB / 414.5 MB, free: 31.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2706, allocations: 4 kB / 414.5 MB, free: 31.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.2709, allocations: 51.89 kB / 414.5 MB, free: 31.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/0.2725, allocations: 0.8642 MB / 415.4 MB, free: 30.9 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.2726, allocations: 19.97 kB / 415.4 MB, free: 30.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004389/0.277, allocations: 1.745 MB / 417.1 MB, free: 29.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.277, allocations: 0 / 417.1 MB, free: 29.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.2792, allocations: 0.8772 MB / 418 MB, free: 28.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.2794, allocations: 180.4 kB / 418.2 MB, free: 27.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.2795, allocations: 4 kB / 418.2 MB, free: 27.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.28, allocations: 47.95 kB / 418.2 MB, free: 27.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.2801, allocations: 15.97 kB / 418.3 MB, free: 27.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.2801, allocations: 19.98 kB / 418.3 MB, free: 27.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.2803, allocations: 255.2 kB / 418.5 MB, free: 27.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2803, allocations: 0 / 418.5 MB, free: 27.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007015/0.281, allocations: 231.9 kB / 418.8 MB, free: 27.42 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.001288/0.2823, allocations: 0.5296 MB / 419.3 MB, free: 27.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004482/0.2868, allocations: 0.7728 MB / 420.1 MB, free: 26.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2868, allocations: 3.938 kB / 420.1 MB, free: 26.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003182/0.29, allocations: 468.4 kB / 420.5 MB, free: 25.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.2906, allocations: 103 kB / 420.6 MB, free: 25.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.292, allocations: 0.7944 MB / 421.4 MB, free: 24.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.2922, allocations: 0.784 MB / 422.2 MB, free: 24.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.205e-05/0.2923, allocations: 35.42 kB / 422.2 MB, free: 24.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2923, allocations: 0 / 422.2 MB, free: 24.07 MB / 318.1 MB Notification: Performance of Templates: time 0.009973/0.3022, allocations: 10.71 MB / 432.9 MB, free: 13.38 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)