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.001297/0.001297, allocations: 109.6 kB / 16.41 MB, free: 6.504 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.001256/0.001256, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06098/0.06098, allocations: 11.84 MB / 282.4 MB, free: 216 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.002216/0.002216, allocations: 69.95 kB / 393 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06436/0.06658, allocations: 49.23 MB / 442.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002933/0.06951, allocations: 2.412 MB / 444.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.07255, allocations: 2.123 MB / 446.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.07266, allocations: 4 kB / 446.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.07299, allocations: 79.45 kB / 446.9 MB, free: 13.43 MB / 334.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.0003346/0.07332, allocations: 119.2 kB / 447 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008691/0.07419, allocations: 418.4 kB / 447.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.07452, allocations: 254.8 kB / 447.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.07463, allocations: 36.36 kB / 447.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.0748, allocations: 87.59 kB / 447.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.07498, allocations: 111.5 kB / 447.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.07501, allocations: 16 kB / 447.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.07536, allocations: 199.8 kB / 448.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.07544, allocations: 47.84 kB / 448.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.07555, allocations: 103.3 kB / 448.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.07607, allocations: 354.7 kB / 448.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.07608, allocations: 0 / 448.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.07608, allocations: 0 / 448.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.07609, allocations: 4 kB / 448.6 MB, free: 11.7 MB / 334.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.0008486/0.07693, allocations: 0.5595 MB / 449.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.07698, allocations: 19.88 kB / 449.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.07705, allocations: 24.8 kB / 449.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.07742, allocations: 266.9 kB / 449.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.07744, allocations: 11.94 kB / 449.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.07747, allocations: 12 kB / 449.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.07782, allocations: 149.6 kB / 449.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.07783, allocations: 0 / 449.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.07785, allocations: 7.938 kB / 449.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.07786, allocations: 8 kB / 449.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.07825, allocations: 151.9 kB / 449.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.0794, allocations: 0.7902 MB / 450.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.07967, allocations: 106.4 kB / 450.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.07982, allocations: 52.97 kB / 450.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.07992, allocations: 85.11 kB / 450.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.07995, allocations: 30.56 kB / 450.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.07995, allocations: 0 / 450.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001581/0.08153, allocations: 405 kB / 451.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.08158, allocations: 55.41 kB / 451.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.0819, allocations: 286.6 kB / 451.6 MB, free: 8.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.08192, allocations: 33.64 kB / 451.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.08204, allocations: 147.9 kB / 451.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.08207, allocations: 35.69 kB / 451.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.08215, allocations: 37.66 kB / 451.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.0823, allocations: 342.8 kB / 452.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.08253, allocations: 59.94 kB / 452.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.08277, allocations: 91.06 kB / 452.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.08322, allocations: 164.1 kB / 452.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.08322, allocations: 0 / 452.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006043/0.08382, allocations: 213.3 kB / 452.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.08384, allocations: 9.562 kB / 452.7 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.08384, allocations: 0 / 452.7 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.08386, allocations: 4 kB / 452.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.0841, allocations: 35.97 kB / 452.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.0841, allocations: 8.062 kB / 452.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.08426, allocations: 23.92 kB / 452.7 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.08428, allocations: 7.984 kB / 452.7 MB, free: 7.207 MB / 334.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.0001428/0.08442, allocations: 137.7 kB / 452.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.08448, allocations: 24.42 kB / 452.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006071/0.08509, allocations: 211.1 kB / 453.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.08509, allocations: 4 kB / 453.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.0851, allocations: 0 / 453.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.0851, allocations: 3.938 kB / 453.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.08543, allocations: 269.5 kB / 453.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.08543, allocations: 0 / 453.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.08563, allocations: 31.97 kB / 453.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.08563, allocations: 4 kB / 453.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.08565, allocations: 4 kB / 453.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.08565, allocations: 0 / 453.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.08565, allocations: 0 / 453.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.0862, allocations: 283.5 kB / 453.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.08632, allocations: 113 kB / 453.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.08635, allocations: 4 kB / 453.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.08653, allocations: 19.97 kB / 453.8 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.08657, allocations: 11.92 kB / 453.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.08659, allocations: 7.938 kB / 453.8 MB, free: 6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.08681, allocations: 206 kB / 454 MB, free: 5.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08681, allocations: 0 / 454 MB, free: 5.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000393/0.0872, allocations: 79.8 kB / 454.1 MB, free: 5.723 MB / 334.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.001409/0.08861, allocations: 406.2 kB / 454.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005304/0.08914, allocations: 147.8 kB / 454.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.08914, allocations: 0 / 454.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.08937, allocations: 67.89 kB / 454.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.08985, allocations: 68.69 kB / 454.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.09066, allocations: 399.1 kB / 455.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.09107, allocations: 0.7359 MB / 455.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.09119, allocations: 33.94 kB / 456 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.09125, allocations: 19.44 kB / 456 MB, free: 3.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.09125, allocations: 0 / 456 MB, free: 3.93 MB / 334.1 MB Notification: Performance of Templates: time 0.008353/0.09961, allocations: 3.85 MB / 459.8 MB, free: 100 kB / 334.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)