Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001476/0.001476, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.293/1.293, 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.06159/0.06159, allocations: 11.84 MB / 282.3 MB, free: 300 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.001591/0.001591, allocations: 71.81 kB / 342.6 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2015, allocations: 49.21 MB / 391.8 MB, free: 48.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.002775/0.2043, allocations: 1.929 MB / 393.7 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.2064, allocations: 1.853 MB / 395.5 MB, free: 46.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2065, allocations: 6.156 kB / 395.6 MB, free: 46.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.2068, allocations: 47.08 kB / 395.6 MB, free: 46.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.207, allocations: 88.12 kB / 395.7 MB, free: 46.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.2077, allocations: 339.8 kB / 396 MB, free: 45.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.2079, allocations: 181.9 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.208, allocations: 27.78 kB / 396.2 MB, free: 45.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.2081, allocations: 55.59 kB / 396.3 MB, free: 45.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2082, allocations: 69.88 kB / 396.3 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.2082, allocations: 11.81 kB / 396.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.2086, allocations: 237.9 kB / 396.6 MB, free: 45.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.2087, allocations: 22.91 kB / 396.6 MB, free: 45.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.2088, allocations: 71.52 kB / 396.7 MB, free: 45.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.2092, allocations: 282.8 kB / 397 MB, free: 45.56 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2092, allocations: 0.9375 kB / 397 MB, free: 45.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2092, allocations: 1.062 kB / 397 MB, free: 45.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.2092, allocations: 0 / 397 MB, free: 45.56 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004467/0.2096, allocations: 474.1 kB / 397.4 MB, free: 45.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2097, allocations: 14.02 kB / 397.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.2097, allocations: 20.31 kB / 397.5 MB, free: 45.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.2099, allocations: 220 kB / 397.7 MB, free: 44.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.21, allocations: 8.438 kB / 397.7 MB, free: 44.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.21, allocations: 16.27 kB / 397.7 MB, free: 44.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.2102, allocations: 120.6 kB / 397.8 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2102, allocations: 0 / 397.8 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2103, allocations: 4 kB / 397.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2103, allocations: 5.594 kB / 397.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.2105, allocations: 117.2 kB / 397.9 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009341/0.2114, allocations: 0.9194 MB / 398.9 MB, free: 43.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2116, allocations: 52.06 kB / 398.9 MB, free: 43.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.2116, allocations: 30.77 kB / 398.9 MB, free: 43.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.2117, allocations: 89.52 kB / 399 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.2118, allocations: 36.38 kB / 399.1 MB, free: 43.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2118, allocations: 0 / 399.1 MB, free: 43.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003115/0.2121, allocations: 101.9 kB / 399.2 MB, free: 43.58 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.2121, allocations: 53.08 kB / 399.2 MB, free: 43.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2123, allocations: 208.9 kB / 399.4 MB, free: 43.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2123, allocations: 26.86 kB / 399.4 MB, free: 43.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.2124, allocations: 119.4 kB / 399.6 MB, free: 43.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.2124, allocations: 20.23 kB / 399.6 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.2125, allocations: 34.72 kB / 399.6 MB, free: 43.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.2125, allocations: 326.7 kB / 399.9 MB, free: 42.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.2126, allocations: 24.33 kB / 400 MB, free: 42.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.2127, allocations: 34.28 kB / 400 MB, free: 42.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.2128, allocations: 62.34 kB / 400 MB, free: 42.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2128, allocations: 0 / 400 MB, free: 42.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.213, allocations: 117.8 kB / 400.2 MB, free: 42.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.213, allocations: 4.688 kB / 400.2 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.213, allocations: 4.031 kB / 400.2 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.213, allocations: 0 / 400.2 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2131, allocations: 21.61 kB / 400.2 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2131, allocations: 3.531 kB / 400.2 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.2132, allocations: 16.41 kB / 400.2 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2132, allocations: 4.203 kB / 400.2 MB, free: 42.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.2133, allocations: 118.6 kB / 400.3 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.2134, allocations: 15.48 kB / 400.3 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.2136, allocations: 105.6 kB / 400.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2136, allocations: 1.125 kB / 400.5 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2136, allocations: 0.5156 kB / 400.5 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2136, allocations: 3.984 kB / 400.5 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.214, allocations: 386.1 kB / 400.8 MB, free: 42.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.214, allocations: 1.906 kB / 400.8 MB, free: 42.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.2141, allocations: 13.11 kB / 400.8 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2141, allocations: 1.781 kB / 400.8 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2141, allocations: 9 kB / 400.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2141, allocations: 1.812 kB / 400.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2141, allocations: 8.734 kB / 400.9 MB, free: 42.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.2142, allocations: 183.7 kB / 401 MB, free: 42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.2143, allocations: 98.83 kB / 401.1 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.2143, allocations: 10.64 kB / 401.2 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.2144, allocations: 0 / 401.2 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.2145, allocations: 11.53 kB / 401.2 MB, free: 41.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.2145, allocations: 2.781 kB / 401.2 MB, free: 41.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.2146, allocations: 156.9 kB / 401.3 MB, free: 41.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2146, allocations: 0 / 401.3 MB, free: 41.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000357/0.215, allocations: 78.55 kB / 401.4 MB, free: 41.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002562/0.2152, allocations: 184.2 kB / 401.6 MB, free: 41.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.2154, allocations: 60.33 kB / 401.6 MB, free: 41.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2154, allocations: 1.062 kB / 401.6 MB, free: 41.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.2155, allocations: 22.95 kB / 401.7 MB, free: 41.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.2159, allocations: 34.44 kB / 401.7 MB, free: 41.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.2163, allocations: 276.3 kB / 402 MB, free: 41.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2164, allocations: 0.7104 MB / 402.7 MB, free: 40.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.541e-05/0.2165, allocations: 30.19 kB / 402.7 MB, free: 40.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.2166, allocations: 18.5 kB / 402.7 MB, free: 40.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2166, allocations: 0 / 402.7 MB, free: 40.68 MB / 318.1 MB Notification: Performance of Templates: time 0.005959/0.2225, allocations: 3.297 MB / 406 MB, free: 39.07 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)