Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01042/0.01042, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.002217/0.002217, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7435/0.7435, allocations: 95.48 MB / 365.4 MB, free: 9.777 MB / 302.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: Buildings requested package Modelica of version 3.2.1. 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.00157/0.00157, allocations: 66.66 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1886, allocations: 69.1 MB / 0.5711 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.0038/0.1924, allocations: 1.568 MB / 0.5726 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1937, allocations: 0.5314 MB / 0.5731 GB, free: 6.215 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.1938, allocations: 3.938 kB / 0.5731 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.194, allocations: 11.88 kB / 0.5731 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.27e-05/0.1941, allocations: 11.86 kB / 0.5732 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.1944, allocations: 39.91 kB / 0.5732 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1946, allocations: 91.62 kB / 0.5733 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.1948, allocations: 44.16 kB / 0.5733 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1949, allocations: 31.91 kB / 0.5734 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.195, allocations: 43.77 kB / 0.5734 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1951, allocations: 8 kB / 0.5734 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.1952, allocations: 12 kB / 0.5734 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.1952, allocations: 23.92 kB / 0.5734 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.1953, allocations: 35.8 kB / 0.5735 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1955, allocations: 95.56 kB / 0.5736 GB, free: 5.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1955, allocations: 0 / 0.5736 GB, free: 5.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1955, allocations: 0 / 0.5736 GB, free: 5.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1956, allocations: 8 kB / 0.5736 GB, free: 5.762 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008233/0.1964, allocations: 395.1 kB / 0.5739 GB, free: 5.328 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.1964, allocations: 11.98 kB / 0.574 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.1965, allocations: 12.75 kB / 0.574 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.1968, allocations: 196.9 kB / 0.5742 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1969, allocations: 4 kB / 0.5742 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1969, allocations: 8 kB / 0.5742 GB, free: 5.062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.1972, allocations: 105.6 kB / 0.5743 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1973, allocations: 0 / 0.5743 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.1973, allocations: 7.984 kB / 0.5743 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1973, allocations: 4 kB / 0.5743 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.1976, allocations: 99.86 kB / 0.5744 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.1984, allocations: 372.6 kB / 0.5747 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1986, allocations: 54.55 kB / 0.5748 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1988, allocations: 52.95 kB / 0.5748 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/0.1988, allocations: 7.969 kB / 0.5748 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.1989, allocations: 38.5 kB / 0.5749 GB, free: 4.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1989, allocations: 4 kB / 0.5749 GB, free: 4.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005063/0.1994, allocations: 165.5 kB / 0.575 GB, free: 4.086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1994, allocations: 51.41 kB / 0.5751 GB, free: 4.023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1996, allocations: 137.2 kB / 0.5752 GB, free: 3.883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.1996, allocations: 25.7 kB / 0.5752 GB, free: 3.852 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.1997, allocations: 112 kB / 0.5754 GB, free: 3.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1998, allocations: 23.8 kB / 0.5754 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.1998, allocations: 17.72 kB / 0.5754 GB, free: 3.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2, allocations: 318.8 kB / 0.5757 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.2001, allocations: 35.97 kB / 0.5757 GB, free: 3.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.2003, allocations: 44.22 kB / 0.5758 GB, free: 3.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.2005, allocations: 96.8 kB / 0.5759 GB, free: 3.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.2005, allocations: 0 / 0.5759 GB, free: 3.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002578/0.2008, allocations: 133.4 kB / 0.576 GB, free: 3.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2008, allocations: 4 kB / 0.576 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2008, allocations: 0 / 0.576 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.2008, allocations: 0 / 0.576 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.201, allocations: 23.97 kB / 0.576 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.201, allocations: 0 / 0.576 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.2011, allocations: 11.94 kB / 0.576 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.2011, allocations: 7.984 kB / 0.576 GB, free: 3.012 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001014/0.2012, allocations: 113.8 kB / 0.5761 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.2013, allocations: 11.84 kB / 0.5762 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.2016, allocations: 150.2 kB / 0.5763 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2016, allocations: 0 / 0.5763 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2016, allocations: 0 / 0.5763 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2017, allocations: 4 kB / 0.5763 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.2019, allocations: 201.5 kB / 0.5765 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.2019, allocations: 3.938 kB / 0.5765 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.202, allocations: 19.98 kB / 0.5765 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.202, allocations: 4.234 kB / 0.5765 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2021, allocations: 0 / 0.5765 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.2021, allocations: 4 kB / 0.5765 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2021, allocations: 0 / 0.5765 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.2024, allocations: 231.3 kB / 0.5767 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.2025, allocations: 84.95 kB / 0.5768 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.2025, allocations: 0 / 0.5768 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2027, allocations: 15.98 kB / 0.5768 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.2027, allocations: 0 / 0.5768 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.2027, allocations: 11.92 kB / 0.5769 GB, free: 2.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.2028, allocations: 99.27 kB / 0.5769 GB, free: 1.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2028, allocations: 4 kB / 0.577 GB, free: 1.965 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.2031, allocations: 19.94 kB / 0.577 GB, free: 1.945 MB / 446.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 (6): * Single equations (assignments): 6 * 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.0001895/0.2033, allocations: 99.25 kB / 0.5771 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.2036, allocations: 103.9 kB / 0.5772 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2036, allocations: 0 / 0.5772 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2037, allocations: 51.97 kB / 0.5772 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.204, allocations: 11.94 kB / 0.5772 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.2044, allocations: 211.2 kB / 0.5774 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2047, allocations: 0.7002 MB / 0.5781 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.2049, allocations: 23.86 kB / 0.5781 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.2049, allocations: 11.44 kB / 0.5781 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2049, allocations: 4 kB / 0.5781 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of Templates: time 0.003185/0.2081, allocations: 0.7368 MB / 0.5789 GB, free: 15.95 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)