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.001155/0.001155, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.001151/0.001151, allocations: 183.7 kB / 17.22 MB, free: 5.73 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.283/1.283, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05652/0.05652, allocations: 11.84 MB / 282.3 MB, free: 316 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.001496/0.001496, allocations: 63.91 kB / 342.6 MB, free: 3.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2147, allocations: 49.21 MB / 391.8 MB, free: 49.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003205/0.2179, allocations: 2.398 MB / 394.2 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.2204, allocations: 2.128 MB / 396.3 MB, free: 45.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.2206, allocations: 5.75 kB / 396.3 MB, free: 45.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.2209, allocations: 78.53 kB / 396.4 MB, free: 45.87 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.0003102/0.2213, allocations: 113.9 kB / 396.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.2221, allocations: 410.4 kB / 396.9 MB, free: 45.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.2225, allocations: 252.8 kB / 397.1 MB, free: 45.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2226, allocations: 53.28 kB / 397.2 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.2228, allocations: 94.77 kB / 397.3 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.223, allocations: 105.5 kB / 397.4 MB, free: 45.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.223, allocations: 11.91 kB / 397.4 MB, free: 45.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.2234, allocations: 199.2 kB / 397.6 MB, free: 45.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.2235, allocations: 50.72 kB / 397.6 MB, free: 45.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.422e-05/0.2236, allocations: 96.39 kB / 397.7 MB, free: 45.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.224, allocations: 358.7 kB / 398.1 MB, free: 45.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2241, allocations: 0 / 398.1 MB, free: 45.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2241, allocations: 1.344 kB / 398.1 MB, free: 45.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2241, allocations: 0 / 398.1 MB, free: 45.08 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.00066/0.2247, allocations: 0.5422 MB / 398.6 MB, free: 44.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2248, allocations: 14.47 kB / 398.6 MB, free: 44.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.2248, allocations: 27.69 kB / 398.7 MB, free: 44.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.2251, allocations: 260 kB / 398.9 MB, free: 44.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2251, allocations: 12.84 kB / 398.9 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2251, allocations: 12.06 kB / 398.9 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.2255, allocations: 164.5 kB / 399.1 MB, free: 44.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2255, allocations: 0.9844 kB / 399.1 MB, free: 44.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.2255, allocations: 5.281 kB / 399.1 MB, free: 44.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2255, allocations: 3.875 kB / 399.1 MB, free: 44.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.2259, allocations: 144.7 kB / 399.3 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.2268, allocations: 0.7926 MB / 400 MB, free: 43.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.2271, allocations: 111.3 kB / 400.2 MB, free: 43.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.2272, allocations: 54.28 kB / 400.2 MB, free: 43.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.322e-05/0.2273, allocations: 84.11 kB / 400.3 MB, free: 43.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.2274, allocations: 38.56 kB / 400.3 MB, free: 43.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.2274, allocations: 1.812 kB / 400.3 MB, free: 43.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001407/0.2288, allocations: 397.9 kB / 400.7 MB, free: 43.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.2288, allocations: 53.88 kB / 400.8 MB, free: 43.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.2291, allocations: 284 kB / 401 MB, free: 42.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2291, allocations: 26.86 kB / 401.1 MB, free: 42.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.2291, allocations: 154.5 kB / 401.2 MB, free: 42.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2292, allocations: 47.75 kB / 401.3 MB, free: 42.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.2292, allocations: 30.94 kB / 401.3 MB, free: 42.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.2293, allocations: 336.2 kB / 401.6 MB, free: 42.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.2295, allocations: 58.8 kB / 401.7 MB, free: 42.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.2297, allocations: 100.2 kB / 401.8 MB, free: 42.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.2301, allocations: 161.3 kB / 401.9 MB, free: 42.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2301, allocations: 1.031 kB / 401.9 MB, free: 42.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004643/0.2306, allocations: 208.8 kB / 402.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2306, allocations: 6.062 kB / 402.2 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2306, allocations: 1.031 kB / 402.2 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2306, allocations: 6.688 kB / 402.2 MB, free: 41.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.2308, allocations: 44.62 kB / 402.2 MB, free: 41.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2309, allocations: 2.312 kB / 402.2 MB, free: 41.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.231, allocations: 15.95 kB / 402.2 MB, free: 41.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.231, allocations: 5.406 kB / 402.2 MB, free: 41.92 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 9.064e-05/0.2311, allocations: 139.7 kB / 402.4 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.2312, allocations: 22.44 kB / 402.4 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.2317, allocations: 202.6 kB / 402.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2317, allocations: 2.219 kB / 402.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2317, allocations: 0 / 402.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.2317, allocations: 7.922 kB / 402.6 MB, free: 41.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.232, allocations: 266 kB / 402.9 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.232, allocations: 8 kB / 402.9 MB, free: 41.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.2322, allocations: 32.47 kB / 402.9 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2322, allocations: 1.094 kB / 402.9 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2322, allocations: 5 kB / 402.9 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2322, allocations: 1.062 kB / 402.9 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2322, allocations: 0 / 402.9 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.2327, allocations: 286.3 kB / 403.2 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.2327, allocations: 101.9 kB / 403.3 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.2328, allocations: 5.156 kB / 403.3 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.233, allocations: 15.88 kB / 403.3 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.233, allocations: 8.594 kB / 403.3 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.233, allocations: 10.8 kB / 403.3 MB, free: 41.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.2332, allocations: 202.3 kB / 403.5 MB, free: 40.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2332, allocations: 4 kB / 403.5 MB, free: 40.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.2336, allocations: 84.64 kB / 403.6 MB, free: 40.85 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.0009017/0.2345, allocations: 413.1 kB / 404 MB, free: 40.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.235, allocations: 150.3 kB / 404.2 MB, free: 40.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.235, allocations: 0 / 404.2 MB, free: 40.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.2352, allocations: 73.05 kB / 404.2 MB, free: 40.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.2356, allocations: 56.14 kB / 404.3 MB, free: 40.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.2362, allocations: 398.9 kB / 404.7 MB, free: 40.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.2364, allocations: 0.7338 MB / 405.4 MB, free: 39.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.2366, allocations: 43.53 kB / 405.4 MB, free: 39.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.2366, allocations: 24.66 kB / 405.5 MB, free: 39.51 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2366, allocations: 0 / 405.5 MB, free: 39.51 MB / 318.1 MB Notification: Performance of Templates: time 0.006745/0.2434, allocations: 3.824 MB / 409.3 MB, free: 37.43 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)