Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005126/0.005126, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001169/0.001169, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.266/1.266, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 251.7 MB / 0.5094 GB, free: 2.969 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 69.77 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1886, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00356/0.1922, allocations: 1.591 MB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009792/0.1932, allocations: 0.5471 MB / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.1933, allocations: 0 / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1935, allocations: 11.88 kB / 0.8301 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.486e-05/0.1935, allocations: 27.78 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1938, allocations: 31.97 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.194, allocations: 79.7 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1942, allocations: 44.14 kB / 0.8303 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1943, allocations: 39.84 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.1944, allocations: 39.84 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1944, allocations: 8 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.941e-05/0.1945, allocations: 11.98 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.1945, allocations: 19.92 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.1946, allocations: 47.73 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1948, allocations: 83.64 kB / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1948, allocations: 0 / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1948, allocations: 0 / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.1948, allocations: 0 / 0.8306 GB, free: 13.57 MB / 0.6544 GB 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.0006862/0.1955, allocations: 407 kB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1956, allocations: 11.97 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.1957, allocations: 16.84 kB / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1959, allocations: 196.2 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1959, allocations: 8.375 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.196, allocations: 4.375 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.1963, allocations: 110 kB / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1963, allocations: 0 / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.1963, allocations: 3.984 kB / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1963, allocations: 0 / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.1966, allocations: 103.8 kB / 0.8314 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.1973, allocations: 384.6 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.1974, allocations: 62.48 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1975, allocations: 44.95 kB / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.1976, allocations: 15.98 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1976, allocations: 30.56 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1976, allocations: 0 / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004248/0.198, allocations: 165.5 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.1981, allocations: 51.41 kB / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1982, allocations: 140.2 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1982, allocations: 33.7 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.1983, allocations: 104.2 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1983, allocations: 19.84 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.1984, allocations: 21.72 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1985, allocations: 322.8 kB / 0.8327 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1986, allocations: 39.97 kB / 0.8328 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1987, allocations: 43.97 kB / 0.8328 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.1989, allocations: 88.8 kB / 0.8329 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1989, allocations: 0 / 0.8329 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003128/0.1993, allocations: 125.5 kB / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1993, allocations: 4 kB / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1993, allocations: 0 / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1993, allocations: 0 / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1995, allocations: 28.34 kB / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1995, allocations: 4 kB / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.1995, allocations: 7.938 kB / 0.833 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.1996, allocations: 7.984 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB 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 8.518e-05/0.1997, allocations: 121.8 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.1997, allocations: 7.953 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.2001, allocations: 146.2 kB / 0.8333 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.2001, allocations: 7.938 kB / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2001, allocations: 0 / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2001, allocations: 0 / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2003, allocations: 209.6 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2003, allocations: 0 / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.982e-05/0.2004, allocations: 15.98 kB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2004, allocations: 3.984 kB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2005, allocations: 4 kB / 0.8335 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2005, allocations: 7.938 kB / 0.8336 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2005, allocations: 0 / 0.8336 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.2008, allocations: 223.4 kB / 0.8338 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.2008, allocations: 85.06 kB / 0.8338 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2009, allocations: 3.938 kB / 0.8339 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.201, allocations: 11.92 kB / 0.8339 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.201, allocations: 8 kB / 0.8339 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.201, allocations: 7.984 kB / 0.8339 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.2011, allocations: 99.27 kB / 0.834 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2011, allocations: 0 / 0.834 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002308/0.2014, allocations: 19.94 kB / 0.834 GB, free: 9.73 MB / 0.6544 GB 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.0001514/0.2015, allocations: 103.2 kB / 0.8341 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.2018, allocations: 99.92 kB / 0.8342 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2018, allocations: 0 / 0.8342 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2019, allocations: 56.16 kB / 0.8342 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.2022, allocations: 10.81 kB / 0.8343 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.2026, allocations: 219.1 kB / 0.8345 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.2029, allocations: 0.7002 MB / 0.8351 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.203, allocations: 23.95 kB / 0.8352 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.2031, allocations: 11.44 kB / 0.8352 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2031, allocations: 0 / 0.8352 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of Templates: time 0.002817/0.2059, allocations: 0.7176 MB / 0.8359 GB, free: 7.746 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)