Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 116.7 kB / 16.37 MB, free: 6.012 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.001257/0.001257, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.233/1.233, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05594/0.05594, allocations: 11.84 MB / 282.4 MB, free: 240 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.001485/0.001485, allocations: 68.61 kB / 343.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1852, allocations: 49.21 MB / 392.5 MB, free: 49.42 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003393/0.1887, allocations: 2.41 MB / 394.9 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1911, allocations: 2.121 MB / 397 MB, free: 46.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.1913, allocations: 2.562 kB / 397 MB, free: 46.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.1917, allocations: 77.31 kB / 397.1 MB, free: 46.21 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.0003454/0.192, allocations: 121.5 kB / 397.2 MB, free: 46.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009575/0.193, allocations: 410 kB / 397.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.1933, allocations: 255.6 kB / 397.9 MB, free: 45.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1934, allocations: 37.03 kB / 397.9 MB, free: 45.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1936, allocations: 99.61 kB / 398 MB, free: 45.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1938, allocations: 102.1 kB / 398.1 MB, free: 45.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.1938, allocations: 11.34 kB / 398.1 MB, free: 45.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.1942, allocations: 202.4 kB / 398.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.1943, allocations: 51.03 kB / 398.4 MB, free: 45.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.1944, allocations: 97.42 kB / 398.5 MB, free: 45.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.1948, allocations: 361.2 kB / 398.8 MB, free: 45.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1948, allocations: 1.375 kB / 398.8 MB, free: 45.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1949, allocations: 0 / 398.8 MB, free: 45.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1949, allocations: 0 / 398.8 MB, free: 45.42 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006938/0.1956, allocations: 0.5466 MB / 399.4 MB, free: 44.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1956, allocations: 17.05 kB / 399.4 MB, free: 44.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.1957, allocations: 24.03 kB / 399.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.196, allocations: 258 kB / 399.6 MB, free: 44.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.196, allocations: 18.06 kB / 399.7 MB, free: 44.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.196, allocations: 11.94 kB / 399.7 MB, free: 44.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.1963, allocations: 160.2 kB / 399.8 MB, free: 44.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1963, allocations: 3.984 kB / 399.8 MB, free: 44.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1964, allocations: 5.219 kB / 399.8 MB, free: 44.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1964, allocations: 2.312 kB / 399.8 MB, free: 44.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.1967, allocations: 153.7 kB / 400 MB, free: 44.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.1976, allocations: 0.7878 MB / 400.8 MB, free: 43.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1978, allocations: 114 kB / 400.9 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1979, allocations: 51.02 kB / 400.9 MB, free: 43.58 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.607e-05/0.198, allocations: 82.98 kB / 401 MB, free: 43.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.198, allocations: 36.03 kB / 401.1 MB, free: 43.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.198, allocations: 0 / 401.1 MB, free: 43.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.00134/0.1994, allocations: 404.9 kB / 401.5 MB, free: 43.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.1994, allocations: 54.25 kB / 401.5 MB, free: 43.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.1997, allocations: 283.1 kB / 401.8 MB, free: 42.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1997, allocations: 26.8 kB / 401.8 MB, free: 42.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1998, allocations: 155 kB / 402 MB, free: 42.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.1998, allocations: 40.3 kB / 402 MB, free: 42.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.1999, allocations: 34.7 kB / 402 MB, free: 42.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.1999, allocations: 336 kB / 402.4 MB, free: 42.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.2001, allocations: 63.81 kB / 402.4 MB, free: 42.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.2003, allocations: 92.69 kB / 402.5 MB, free: 42.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.2007, allocations: 161 kB / 402.7 MB, free: 42.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2007, allocations: 3.938 kB / 402.7 MB, free: 42.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000454/0.2011, allocations: 209.9 kB / 402.9 MB, free: 42.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2012, allocations: 5.062 kB / 402.9 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2012, allocations: 1.469 kB / 402.9 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2012, allocations: 3.062 kB / 402.9 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.2014, allocations: 44.28 kB / 402.9 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2014, allocations: 3.062 kB / 402.9 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.2016, allocations: 19.67 kB / 403 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.2016, allocations: 8.734 kB / 403 MB, free: 42.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.555e-05/0.2017, allocations: 140.4 kB / 403.1 MB, free: 41.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.2017, allocations: 21.97 kB / 403.1 MB, free: 41.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.2022, allocations: 197.7 kB / 403.3 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2023, allocations: 1.031 kB / 403.3 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2023, allocations: 0 / 403.3 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2023, allocations: 5.531 kB / 403.3 MB, free: 41.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.2025, allocations: 268.9 kB / 403.6 MB, free: 41.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2025, allocations: 0 / 403.6 MB, free: 41.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.2027, allocations: 36.25 kB / 403.6 MB, free: 41.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2027, allocations: 5.031 kB / 403.6 MB, free: 41.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2027, allocations: 1.156 kB / 403.6 MB, free: 41.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2027, allocations: 4.906 kB / 403.6 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2027, allocations: 0 / 403.6 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.2032, allocations: 279.5 kB / 403.9 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.2032, allocations: 109.7 kB / 404 MB, free: 41.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.2033, allocations: 4 kB / 404 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.2035, allocations: 15.59 kB / 404 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.2035, allocations: 8.969 kB / 404 MB, free: 41.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2035, allocations: 10.86 kB / 404.1 MB, free: 41.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.2037, allocations: 202.3 kB / 404.2 MB, free: 41.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2037, allocations: 0 / 404.2 MB, free: 41.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00037/0.2041, allocations: 80.52 kB / 404.3 MB, free: 41 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 12 * 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.0008509/0.2049, allocations: 422.9 kB / 404.7 MB, free: 40.81 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004418/0.2054, allocations: 146.9 kB / 404.9 MB, free: 40.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2054, allocations: 3.938 kB / 404.9 MB, free: 40.74 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.2056, allocations: 68.86 kB / 405 MB, free: 40.71 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.206, allocations: 65.47 kB / 405 MB, free: 40.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.2066, allocations: 399.3 kB / 405.4 MB, free: 40.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.2067, allocations: 0.7379 MB / 406.1 MB, free: 39.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.2069, allocations: 36.02 kB / 406.2 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.2069, allocations: 24.12 kB / 406.2 MB, free: 39.64 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2069, allocations: 1.062 kB / 406.2 MB, free: 39.64 MB / 318.1 MB Notification: Performance of Templates: time 0.006786/0.2137, allocations: 3.816 MB / 410 MB, free: 37.28 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)