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.001421/0.001421, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001486/0.001486, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.286/1.286, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05164/0.05164, allocations: 11.85 MB / 282.3 MB, free: 296 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.001609/0.001609, allocations: 79.8 kB / 342.5 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.233, allocations: 49.21 MB / 391.7 MB, free: 49.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003371/0.2364, allocations: 2.398 MB / 394.1 MB, free: 47.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.2388, allocations: 2.132 MB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.239, allocations: 1.375 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.2393, allocations: 77.78 kB / 396.3 MB, free: 45.82 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.0002976/0.2396, allocations: 114.4 kB / 396.4 MB, free: 45.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.2405, allocations: 418 kB / 396.8 MB, free: 45.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.2407, allocations: 245.8 kB / 397.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2409, allocations: 57.62 kB / 397.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.241, allocations: 85.09 kB / 397.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.2412, allocations: 106.5 kB / 397.3 MB, free: 45.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.2412, allocations: 12.62 kB / 397.3 MB, free: 45.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.2416, allocations: 204.4 kB / 397.5 MB, free: 45.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.2417, allocations: 44.94 kB / 397.6 MB, free: 45.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.511e-05/0.2418, allocations: 103.7 kB / 397.7 MB, free: 45.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.2422, allocations: 345.2 kB / 398 MB, free: 45.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2423, allocations: 0.6562 kB / 398 MB, free: 45.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2423, allocations: 7.938 kB / 398 MB, free: 45.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.2423, allocations: 0 / 398 MB, free: 45.04 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.0006913/0.243, allocations: 0.5459 MB / 398.6 MB, free: 44.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.243, allocations: 14.31 kB / 398.6 MB, free: 44.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.2431, allocations: 28.19 kB / 398.6 MB, free: 44.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.2433, allocations: 261 kB / 398.9 MB, free: 44.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2434, allocations: 12.47 kB / 398.9 MB, free: 44.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.2434, allocations: 12.44 kB / 398.9 MB, free: 44.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.2437, allocations: 164.8 kB / 399.1 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2437, allocations: 0 / 399.1 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2438, allocations: 5.75 kB / 399.1 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2438, allocations: 3.812 kB / 399.1 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.2441, allocations: 145 kB / 399.2 MB, free: 44.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009192/0.245, allocations: 0.7923 MB / 400 MB, free: 43.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.2453, allocations: 110 kB / 400.1 MB, free: 43.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.2454, allocations: 55.08 kB / 400.2 MB, free: 43.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.031e-05/0.2455, allocations: 84.39 kB / 400.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.2456, allocations: 40.36 kB / 400.3 MB, free: 43.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.2456, allocations: 0 / 400.3 MB, free: 43.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001465/0.247, allocations: 397.7 kB / 400.7 MB, free: 43.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.2471, allocations: 56.88 kB / 400.7 MB, free: 43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.2473, allocations: 289 kB / 401 MB, free: 42.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2473, allocations: 25.7 kB / 401 MB, free: 42.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.2474, allocations: 151.4 kB / 401.2 MB, free: 42.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.2474, allocations: 40.08 kB / 401.2 MB, free: 42.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.2475, allocations: 33.45 kB / 401.3 MB, free: 42.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.2476, allocations: 332.8 kB / 401.6 MB, free: 42.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.2478, allocations: 62.84 kB / 401.6 MB, free: 42.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.248, allocations: 93.75 kB / 401.7 MB, free: 42.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.2483, allocations: 160.1 kB / 401.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2484, allocations: 1.219 kB / 401.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00047/0.2488, allocations: 215.8 kB / 402.1 MB, free: 41.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2489, allocations: 5.562 kB / 402.1 MB, free: 41.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2489, allocations: 1.188 kB / 402.1 MB, free: 41.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2489, allocations: 2.344 kB / 402.1 MB, free: 41.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.2491, allocations: 45.09 kB / 402.2 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2491, allocations: 2.281 kB / 402.2 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2493, allocations: 20.91 kB / 402.2 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.2493, allocations: 4.625 kB / 402.2 MB, free: 41.89 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.271e-05/0.2494, allocations: 139.4 kB / 402.3 MB, free: 41.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.2495, allocations: 22.5 kB / 402.3 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.25, allocations: 198.2 kB / 402.5 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.25, allocations: 9.125 kB / 402.5 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.25, allocations: 0 / 402.5 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.25, allocations: 9.078 kB / 402.5 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.2502, allocations: 264.9 kB / 402.8 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2503, allocations: 0 / 402.8 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.2504, allocations: 40.47 kB / 402.8 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2504, allocations: 0.9688 kB / 402.8 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2505, allocations: 1.219 kB / 402.8 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2505, allocations: 1.125 kB / 402.8 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2505, allocations: 7.984 kB / 402.9 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.2509, allocations: 282.7 kB / 403.1 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.251, allocations: 106 kB / 403.2 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.251, allocations: 5.109 kB / 403.2 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.2512, allocations: 16.11 kB / 403.3 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.2513, allocations: 11.98 kB / 403.3 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.2513, allocations: 6.156 kB / 403.3 MB, free: 40.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.2514, allocations: 202.8 kB / 403.5 MB, free: 40.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2514, allocations: 0 / 403.5 MB, free: 40.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.2519, allocations: 79.98 kB / 403.6 MB, free: 40.82 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.0008855/0.2527, allocations: 408.4 kB / 403.9 MB, free: 40.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.2532, allocations: 163.3 kB / 404.1 MB, free: 40.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2532, allocations: 0 / 404.1 MB, free: 40.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.2535, allocations: 72.72 kB / 404.2 MB, free: 40.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.254, allocations: 68.34 kB / 404.2 MB, free: 40.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.2546, allocations: 427.4 kB / 404.7 MB, free: 40.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.2548, allocations: 0.7422 MB / 405.4 MB, free: 39.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.2548, allocations: 22.22 kB / 405.4 MB, free: 39.46 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2548, allocations: 0 / 405.4 MB, free: 39.46 MB / 318.1 MB Notification: Performance of Templates: time 0.005071/0.2599, allocations: 3.61 MB / 409 MB, free: 37.59 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)