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.0009591/0.0009592, allocations: 109.5 kB / 15.99 MB, free: 6.359 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.0009234/0.0009235, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.202/1.202, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05037/0.05037, allocations: 11.83 MB / 281.9 MB, free: 9.594 MB / 238.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.001351/0.001351, allocations: 63.91 kB / 342 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07959/0.08096, allocations: 49.24 MB / 391.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003539/0.08452, allocations: 2.709 MB / 393.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.08706, allocations: 2.158 MB / 396.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.08727, allocations: 0 / 396.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.0876, allocations: 71.72 kB / 396.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.08789, allocations: 111.4 kB / 396.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.0887, allocations: 371.2 kB / 396.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.08897, allocations: 246.9 kB / 396.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.08909, allocations: 44.36 kB / 396.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.08924, allocations: 95.59 kB / 397 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.08938, allocations: 103.5 kB / 397.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.08942, allocations: 12 kB / 397.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.08972, allocations: 207.8 kB / 397.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.0898, allocations: 51.72 kB / 397.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.08989, allocations: 99.41 kB / 397.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.09021, allocations: 259.5 kB / 397.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.09022, allocations: 0 / 397.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09023, allocations: 0 / 397.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.09024, allocations: 0 / 397.7 MB, free: 5.879 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.0007017/0.09094, allocations: 0.549 MB / 398.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.09098, allocations: 15.89 kB / 398.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.09104, allocations: 28.66 kB / 398.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.0913, allocations: 258.8 kB / 398.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.09132, allocations: 11.94 kB / 398.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.09135, allocations: 12 kB / 398.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.09166, allocations: 149.6 kB / 398.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.09168, allocations: 0 / 398.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.0917, allocations: 8 kB / 398.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.09171, allocations: 4 kB / 398.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.09205, allocations: 159.8 kB / 398.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009518/0.09301, allocations: 0.7939 MB / 399.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.09325, allocations: 98.66 kB / 399.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.0934, allocations: 56.83 kB / 399.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-05/0.09348, allocations: 85.09 kB / 399.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.09351, allocations: 30.56 kB / 400 MB, free: 3.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.09352, allocations: 4 kB / 400 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001388/0.09491, allocations: 404.6 kB / 400.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.09495, allocations: 55.34 kB / 400.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.09522, allocations: 286.6 kB / 400.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.09525, allocations: 30.27 kB / 400.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.09534, allocations: 147.8 kB / 400.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.09537, allocations: 31.47 kB / 400.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.09544, allocations: 37.64 kB / 400.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.09556, allocations: 338.8 kB / 401.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.09575, allocations: 59.95 kB / 401.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.09597, allocations: 100.1 kB / 401.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.09635, allocations: 160.2 kB / 401.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.09636, allocations: 0 / 401.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004796/0.09684, allocations: 217.1 kB / 401.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.09687, allocations: 6.969 kB / 401.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.09688, allocations: 7.984 kB / 401.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.09689, allocations: 0 / 401.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.09712, allocations: 35.97 kB / 401.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.09714, allocations: 8.125 kB / 401.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.0973, allocations: 19.92 kB / 401.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.09732, allocations: 11.94 kB / 401.9 MB, free: 1.387 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.0001084/0.09744, allocations: 141.8 kB / 402 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.09749, allocations: 19.72 kB / 402 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.098, allocations: 200.9 kB / 402.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.09801, allocations: 0 / 402.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.09802, allocations: 4 kB / 402.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.09803, allocations: 3.938 kB / 402.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.09874, allocations: 0.4922 MB / 402.7 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.09875, allocations: 0 / 402.7 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.09889, allocations: 31.91 kB / 402.8 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.09891, allocations: 4 kB / 402.8 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.09892, allocations: 7.938 kB / 402.8 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.09893, allocations: 0 / 402.8 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.09894, allocations: 4 kB / 402.8 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.09937, allocations: 268.9 kB / 403 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.09948, allocations: 105.1 kB / 403.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.09953, allocations: 15.92 kB / 403.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.0997, allocations: 19.92 kB / 403.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.09974, allocations: 11.97 kB / 403.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.09976, allocations: 0 / 403.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.09995, allocations: 214 kB / 403.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09996, allocations: 0 / 403.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.1003, allocations: 83.92 kB / 403.5 MB, free: 15.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0008242/0.1011, allocations: 414.8 kB / 403.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.1016, allocations: 143.8 kB / 404 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1016, allocations: 0 / 404 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.1018, allocations: 59.89 kB / 404.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1022, allocations: 57.23 kB / 404.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.1029, allocations: 491 kB / 404.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1032, allocations: 0.7359 MB / 405.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.1033, allocations: 19.44 kB / 405.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1033, allocations: 4 kB / 405.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Templates: time 0.004996/0.1083, allocations: 3.605 MB / 409 MB, free: 10.15 MB / 350.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)