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.00152/0.00152, allocations: 107.2 kB / 16.29 MB, free: 6.023 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.001724/0.001724, allocations: 189.6 kB / 17.22 MB, free: 5.629 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.284/1.284, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05486/0.05486, allocations: 11.85 MB / 282.3 MB, free: 308 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.001472/0.001472, allocations: 76.47 kB / 342.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2074, allocations: 49.22 MB / 391.8 MB, free: 49.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003469/0.2109, allocations: 2.798 MB / 394.6 MB, free: 47.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.2136, allocations: 2.272 MB / 396.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.2137, allocations: 2.969 kB / 396.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.2141, allocations: 95.56 kB / 396.9 MB, free: 45.5 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.0004148/0.2145, allocations: 191 kB / 397.1 MB, free: 45.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.2153, allocations: 442.8 kB / 397.6 MB, free: 45.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.2157, allocations: 378.1 kB / 397.9 MB, free: 44.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2158, allocations: 62.94 kB / 398 MB, free: 44.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.216, allocations: 126.5 kB / 398.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.2162, allocations: 159.9 kB / 398.3 MB, free: 44.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.2163, allocations: 19.03 kB / 398.3 MB, free: 44.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.2168, allocations: 290.6 kB / 398.6 MB, free: 44.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.2169, allocations: 57.28 kB / 398.6 MB, free: 44.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.217, allocations: 157.4 kB / 398.8 MB, free: 44.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.2176, allocations: 0.4965 MB / 399.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2176, allocations: 0 / 399.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2176, allocations: 0 / 399.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2176, allocations: 1.281 kB / 399.3 MB, free: 44.4 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.0008135/0.2185, allocations: 0.6272 MB / 399.9 MB, free: 43.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2185, allocations: 21.28 kB / 399.9 MB, free: 43.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.015e-05/0.2186, allocations: 33.59 kB / 400 MB, free: 43.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.2189, allocations: 308.1 kB / 400.3 MB, free: 43.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2189, allocations: 20.03 kB / 400.3 MB, free: 43.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.219, allocations: 21.56 kB / 400.3 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.2193, allocations: 224.1 kB / 400.5 MB, free: 43.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2193, allocations: 0 / 400.5 MB, free: 43.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.2194, allocations: 10.22 kB / 400.5 MB, free: 43.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2194, allocations: 4.531 kB / 400.5 MB, free: 43.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.2198, allocations: 244.8 kB / 400.8 MB, free: 43.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.221, allocations: 1.317 MB / 402.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.2214, allocations: 179.7 kB / 402.3 MB, free: 41.85 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2215, allocations: 80.64 kB / 402.3 MB, free: 41.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.2217, allocations: 173.8 kB / 402.5 MB, free: 41.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.2217, allocations: 35.72 kB / 402.5 MB, free: 41.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.2217, allocations: 0 / 402.5 MB, free: 41.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.02782/0.2496, allocations: 2.737 MB / 405.3 MB, free: 40.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.2496, allocations: 54.19 kB / 405.3 MB, free: 40.11 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.0004716/0.2501, allocations: 358.6 kB / 405.7 MB, free: 39.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.2501, allocations: 31.23 kB / 405.7 MB, free: 39.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.2502, allocations: 172.5 kB / 405.9 MB, free: 39.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.2503, allocations: 114.9 kB / 406 MB, free: 39.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.2505, allocations: 72.95 kB / 406.1 MB, free: 39.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.2506, allocations: 348.1 kB / 406.4 MB, free: 39.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000828/0.2514, allocations: 281.8 kB / 406.7 MB, free: 39.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/0.2523, allocations: 331.7 kB / 407 MB, free: 38.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.254, allocations: 0.5849 MB / 407.6 MB, free: 38.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.254, allocations: 0 / 407.6 MB, free: 38.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002756/0.2568, allocations: 0.8903 MB / 408.5 MB, free: 38.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2568, allocations: 4 kB / 408.5 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.2568, allocations: 0 / 408.5 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.2587, allocations: 1.04 MB / 409.5 MB, free: 36.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.259, allocations: 59.89 kB / 409.6 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005045/0.2641, allocations: 1.815 MB / 411.4 MB, free: 35.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.2648, allocations: 51.95 kB / 411.4 MB, free: 35.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.2648, allocations: 15.98 kB / 411.5 MB, free: 35 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.0002384/0.2651, allocations: 150.4 kB / 411.6 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2652, allocations: 43.52 kB / 411.7 MB, free: 34.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.2685, allocations: 0.9741 MB / 412.6 MB, free: 33.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2685, allocations: 7.938 kB / 412.6 MB, free: 33.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2685, allocations: 0 / 412.6 MB, free: 33.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2685, allocations: 3.984 kB / 412.6 MB, free: 33.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005318/0.2738, allocations: 1.854 MB / 414.5 MB, free: 31.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2738, allocations: 4 kB / 414.5 MB, free: 31.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.2741, allocations: 51.89 kB / 414.5 MB, free: 31.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.2758, allocations: 0.8681 MB / 415.4 MB, free: 30.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.2759, allocations: 19.98 kB / 415.4 MB, free: 30.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/0.2805, allocations: 1.749 MB / 417.2 MB, free: 29.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2805, allocations: 0 / 417.2 MB, free: 29.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.2827, allocations: 0.8772 MB / 418.1 MB, free: 28.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.2829, allocations: 180.4 kB / 418.2 MB, free: 28.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/0.283, allocations: 8 kB / 418.2 MB, free: 28.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.2836, allocations: 39.97 kB / 418.3 MB, free: 27.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.2837, allocations: 19.97 kB / 418.3 MB, free: 27.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.2837, allocations: 23.92 kB / 418.3 MB, free: 27.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002059/0.2839, allocations: 255.2 kB / 418.6 MB, free: 27.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2839, allocations: 0 / 418.6 MB, free: 27.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007234/0.2847, allocations: 235.9 kB / 418.8 MB, free: 27.46 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.001319/0.286, allocations: 0.5275 MB / 419.3 MB, free: 27.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004703/0.2907, allocations: 0.761 MB / 420.1 MB, free: 26.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2907, allocations: 3.938 kB / 420.1 MB, free: 26.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003482/0.2942, allocations: 476.3 kB / 420.6 MB, free: 25.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.2948, allocations: 95.59 kB / 420.7 MB, free: 25.8 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2963, allocations: 0.7459 MB / 421.4 MB, free: 25.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.2965, allocations: 0.7879 MB / 422.2 MB, free: 24.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.2967, allocations: 50.95 kB / 422.2 MB, free: 24.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.2968, allocations: 31.42 kB / 422.3 MB, free: 24.12 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2968, allocations: 0 / 422.3 MB, free: 24.12 MB / 318.1 MB Notification: Performance of Templates: time 0.01694/0.3137, allocations: 14.87 MB / 437.1 MB, free: 9.27 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)