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.006282/0.006282, allocations: 102 kB / 15.73 MB, free: 5.988 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.001331/0.001331, allocations: 195.2 kB / 16.67 MB, free: 5.926 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.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0554/0.0554, allocations: 11.84 MB / 281.7 MB, free: 9.352 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.001673/0.001673, allocations: 75.91 kB / 392.3 MB, free: 3.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2579, allocations: 49.22 MB / 441.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003874/0.2619, allocations: 2.412 MB / 444 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.2645, allocations: 2.118 MB / 446.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2647, allocations: 3.062 kB / 446.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.2651, allocations: 78.02 kB / 446.2 MB, free: 1.191 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.000375/0.2654, allocations: 126.9 kB / 446.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009491/0.2664, allocations: 411.6 kB / 446.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.2667, allocations: 255.2 kB / 446.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.2669, allocations: 52.39 kB / 447 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.267, allocations: 94.47 kB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.2672, allocations: 102.5 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.2672, allocations: 12.66 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.2676, allocations: 206.7 kB / 447.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.047e-05/0.2677, allocations: 39.25 kB / 447.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.2678, allocations: 107.6 kB / 447.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.2683, allocations: 352.9 kB / 447.9 MB, free: 396 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2683, allocations: 0 / 447.9 MB, free: 396 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2683, allocations: 0.5156 kB / 447.9 MB, free: 396 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.2683, allocations: 0 / 447.9 MB, free: 396 kB / 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.0008028/0.2692, allocations: 0.5534 MB / 448.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2692, allocations: 13.27 kB / 448.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.2693, allocations: 24.56 kB / 448.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.2697, allocations: 260.4 kB / 448.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2697, allocations: 16.84 kB / 448.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.2697, allocations: 11.75 kB / 448.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.2701, allocations: 154.6 kB / 448.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.2701, allocations: 0 / 448.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.2701, allocations: 5.219 kB / 448.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2701, allocations: 3.875 kB / 448.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.2705, allocations: 148.7 kB / 449.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2716, allocations: 0.7963 MB / 449.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.2718, allocations: 104.6 kB / 450 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.272, allocations: 56.28 kB / 450 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.083e-05/0.2721, allocations: 82.52 kB / 450.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2721, allocations: 32.38 kB / 450.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.2721, allocations: 0 / 450.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001458/0.2736, allocations: 406.8 kB / 450.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.2736, allocations: 52.75 kB / 450.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.2739, allocations: 296.5 kB / 450.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2739, allocations: 25.7 kB / 450.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.274, allocations: 151.3 kB / 451 MB, free: 13.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.2741, allocations: 35.83 kB / 451.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.2742, allocations: 38.17 kB / 451.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2743, allocations: 331.2 kB / 451.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.2745, allocations: 68.25 kB / 451.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.2747, allocations: 92.5 kB / 451.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.2751, allocations: 161.5 kB / 451.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2751, allocations: 0 / 451.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005171/0.2756, allocations: 213.4 kB / 452 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2757, allocations: 6.875 kB / 452 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2757, allocations: 0 / 452 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2757, allocations: 2.75 kB / 452 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2759, allocations: 36.84 kB / 452 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.276, allocations: 2.75 kB / 452 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.2761, allocations: 24.16 kB / 452 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.2761, allocations: 5.594 kB / 452 MB, free: 13 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.0001176/0.2763, allocations: 142.1 kB / 452.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.2763, allocations: 18.81 kB / 452.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.2769, allocations: 205.8 kB / 452.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2769, allocations: 5.375 kB / 452.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2769, allocations: 0 / 452.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2769, allocations: 11.86 kB / 452.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.2772, allocations: 265.5 kB / 452.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2773, allocations: 0 / 452.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.2774, allocations: 32.72 kB / 452.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2775, allocations: 1.375 kB / 452.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2775, allocations: 1.375 kB / 452.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2775, allocations: 0 / 452.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2775, allocations: 1.375 kB / 452.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.278, allocations: 283 kB / 453 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.2781, allocations: 109.9 kB / 453.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.2782, allocations: 7.922 kB / 453.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2784, allocations: 19.52 kB / 453.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.2784, allocations: 8.703 kB / 453.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2785, allocations: 11.12 kB / 453.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.2787, allocations: 205.4 kB / 453.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2787, allocations: 1.125 kB / 453.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004204/0.2791, allocations: 84.14 kB / 453.4 MB, free: 11.92 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.0009873/0.2801, allocations: 402.5 kB / 453.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004863/0.2806, allocations: 154 kB / 454 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2806, allocations: 0 / 454 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.2808, allocations: 73.72 kB / 454 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.2813, allocations: 60.55 kB / 454.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.282, allocations: 388.5 kB / 454.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.2823, allocations: 0.7459 MB / 455.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.2824, allocations: 36.59 kB / 455.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.2825, allocations: 20 kB / 455.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2825, allocations: 0 / 455.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of Templates: time 0.008636/0.2911, allocations: 3.839 MB / 459.1 MB, free: 8.539 MB / 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)