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.001519/0.001518, allocations: 103.5 kB / 16.35 MB, free: 5.879 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.001135/0.001136, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05438/0.05438, allocations: 11.85 MB / 282.4 MB, free: 228 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.001644/0.001644, allocations: 79.8 kB / 343.3 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2449, allocations: 49.21 MB / 392.5 MB, free: 49.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003736/0.2487, allocations: 2.405 MB / 394.9 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.2515, allocations: 2.136 MB / 397 MB, free: 46.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.2517, allocations: 1.438 kB / 397 MB, free: 46.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.2521, allocations: 78.22 kB / 397.1 MB, free: 46.12 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.0004053/0.2525, allocations: 118 kB / 397.2 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.2536, allocations: 402.2 kB / 397.6 MB, free: 45.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.254, allocations: 258.9 kB / 397.9 MB, free: 45.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.2542, allocations: 41.33 kB / 397.9 MB, free: 45.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.2544, allocations: 89.92 kB / 398 MB, free: 45.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.2547, allocations: 107 kB / 398.1 MB, free: 45.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.2547, allocations: 11.78 kB / 398.1 MB, free: 45.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.2551, allocations: 203.6 kB / 398.3 MB, free: 45.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.153e-05/0.2552, allocations: 50.25 kB / 398.3 MB, free: 45.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.92e-05/0.2554, allocations: 95.98 kB / 398.4 MB, free: 45.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006112/0.256, allocations: 358.7 kB / 398.8 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.256, allocations: 0 / 398.8 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.256, allocations: 5.188 kB / 398.8 MB, free: 45.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.256, allocations: 0 / 398.8 MB, free: 45.34 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.0007626/0.2568, allocations: 0.5515 MB / 399.3 MB, free: 44.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2568, allocations: 13.86 kB / 399.4 MB, free: 44.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.2569, allocations: 28.53 kB / 399.4 MB, free: 44.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.2573, allocations: 258.2 kB / 399.6 MB, free: 44.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2573, allocations: 17.45 kB / 399.7 MB, free: 44.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.2573, allocations: 15.25 kB / 399.7 MB, free: 44.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.2576, allocations: 156.1 kB / 399.8 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2577, allocations: 1.594 kB / 399.8 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2577, allocations: 4 kB / 399.8 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2577, allocations: 3.438 kB / 399.8 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.258, allocations: 150.2 kB / 400 MB, free: 44.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.259, allocations: 0.7932 MB / 400.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2592, allocations: 106.1 kB / 400.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.2594, allocations: 53.97 kB / 400.9 MB, free: 43.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.2595, allocations: 86.52 kB / 401 MB, free: 43.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.2595, allocations: 39.58 kB / 401.1 MB, free: 43.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.2595, allocations: 1.062 kB / 401.1 MB, free: 43.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001464/0.261, allocations: 397.8 kB / 401.4 MB, free: 43.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.261, allocations: 53.5 kB / 401.5 MB, free: 43.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.2613, allocations: 283.7 kB / 401.8 MB, free: 42.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2614, allocations: 30.83 kB / 401.8 MB, free: 42.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.2615, allocations: 151.1 kB / 402 MB, free: 42.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.2615, allocations: 39.95 kB / 402 MB, free: 42.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.2616, allocations: 34.36 kB / 402 MB, free: 42.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.2616, allocations: 336.2 kB / 402.4 MB, free: 42.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2618, allocations: 59.33 kB / 402.4 MB, free: 42.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.262, allocations: 96.08 kB / 402.5 MB, free: 42.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.2624, allocations: 158 kB / 402.7 MB, free: 42.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2624, allocations: 0 / 402.7 MB, free: 42.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000453/0.2629, allocations: 210.1 kB / 402.9 MB, free: 42.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2629, allocations: 9.719 kB / 402.9 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2629, allocations: 1.062 kB / 402.9 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2629, allocations: 2.219 kB / 402.9 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.2632, allocations: 44.41 kB / 402.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2632, allocations: 2.5 kB / 402.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2633, allocations: 19.97 kB / 402.9 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2633, allocations: 5.719 kB / 402.9 MB, free: 42.03 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 0.0001013/0.2635, allocations: 139.8 kB / 403.1 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.2635, allocations: 22.06 kB / 403.1 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.264, allocations: 200.2 kB / 403.3 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.264, allocations: 1.031 kB / 403.3 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.264, allocations: 5.281 kB / 403.3 MB, free: 41.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.264, allocations: 7.922 kB / 403.3 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.2643, allocations: 265.2 kB / 403.6 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2643, allocations: 1.375 kB / 403.6 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.2645, allocations: 40.41 kB / 403.6 MB, free: 41.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2645, allocations: 0 / 403.6 MB, free: 41.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2645, allocations: 1.594 kB / 403.6 MB, free: 41.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2645, allocations: 1.656 kB / 403.6 MB, free: 41.47 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2645, allocations: 7.875 kB / 403.6 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.2649, allocations: 282 kB / 403.9 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/0.265, allocations: 110.6 kB / 404 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.2651, allocations: 0 / 404 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.2652, allocations: 12.42 kB / 404 MB, free: 41.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.2653, allocations: 15.39 kB / 404 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2653, allocations: 12.17 kB / 404 MB, free: 41.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.2655, allocations: 201.7 kB / 404.2 MB, free: 40.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2655, allocations: 0 / 404.2 MB, free: 40.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.2659, allocations: 80.27 kB / 404.3 MB, free: 40.96 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.0009349/0.2669, allocations: 420.6 kB / 404.7 MB, free: 40.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004442/0.2673, allocations: 141.9 kB / 404.9 MB, free: 40.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2673, allocations: 1.5 kB / 404.9 MB, free: 40.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.2675, allocations: 72.19 kB / 404.9 MB, free: 40.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.2679, allocations: 56.47 kB / 405 MB, free: 40.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.2686, allocations: 403 kB / 405.4 MB, free: 40.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.2688, allocations: 0.7339 MB / 406.1 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.2689, allocations: 40.89 kB / 406.2 MB, free: 39.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.269, allocations: 27.69 kB / 406.2 MB, free: 39.62 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.269, allocations: 0 / 406.2 MB, free: 39.62 MB / 318.1 MB Notification: Performance of Templates: time 0.007488/0.2765, allocations: 3.82 MB / 410 MB, free: 37.25 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 cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)