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.001296/0.001295, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001574/0.001574, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.814/1.814, allocations: 251.9 MB / 0.51 GB, free: 4.812 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.0006062/0.0006065, allocations: 19.44 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.648, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002046/0.65, allocations: 1.277 MB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.651, allocations: 0.5317 MB / 0.7297 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.6511, allocations: 0 / 0.7297 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.594e-05/0.6512, allocations: 7.922 kB / 0.7297 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.114e-05/0.6512, allocations: 15.97 kB / 0.7298 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.6514, allocations: 35.84 kB / 0.7298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.6515, allocations: 47.92 kB / 0.7298 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.6517, allocations: 28.22 kB / 0.7299 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.6518, allocations: 35.84 kB / 0.7299 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.6519, allocations: 27.84 kB / 0.7299 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.6519, allocations: 4 kB / 0.7299 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-05/0.652, allocations: 8 kB / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.652, allocations: 15.92 kB / 0.73 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.6521, allocations: 33.7 kB / 0.73 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.6522, allocations: 57.86 kB / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.6522, allocations: 0 / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6522, allocations: 0 / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.6522, allocations: 0 / 0.73 GB, free: 9.273 MB / 0.545 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.0005966/0.6528, allocations: 398.9 kB / 0.7304 GB, free: 8.836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6529, allocations: 19.95 kB / 0.7304 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.6529, allocations: 11.81 kB / 0.7305 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.6532, allocations: 192.8 kB / 0.7306 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.6532, allocations: 0 / 0.7306 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.6532, allocations: 8 kB / 0.7306 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.6535, allocations: 113.6 kB / 0.7308 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6535, allocations: 4 kB / 0.7308 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.6535, allocations: 4 kB / 0.7308 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6535, allocations: 0 / 0.7308 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.6538, allocations: 111.9 kB / 0.7309 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.6545, allocations: 380.6 kB / 0.7312 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.6546, allocations: 70.48 kB / 0.7313 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.6547, allocations: 4.125 kB / 0.7313 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.6547, allocations: 42.45 kB / 0.7313 GB, free: 7.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.6547, allocations: 0 / 0.7313 GB, free: 7.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004886/0.6552, allocations: 181.7 kB / 0.7315 GB, free: 7.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.6553, allocations: 59.34 kB / 0.7316 GB, free: 7.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.6554, allocations: 132.5 kB / 0.7317 GB, free: 7.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.6554, allocations: 29.7 kB / 0.7317 GB, free: 7.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.6555, allocations: 104.3 kB / 0.7318 GB, free: 7.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.6555, allocations: 19.75 kB / 0.7318 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.6555, allocations: 0 / 0.7318 GB, free: 7.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6557, allocations: 318.8 kB / 0.7321 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.6558, allocations: 43.97 kB / 0.7322 GB, free: 6.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.6559, allocations: 52.03 kB / 0.7322 GB, free: 6.816 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.6561, allocations: 51.97 kB / 0.7323 GB, free: 6.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6561, allocations: 0 / 0.7323 GB, free: 6.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002788/0.6564, allocations: 137.5 kB / 0.7324 GB, free: 6.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6564, allocations: 11.94 kB / 0.7324 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6564, allocations: 0 / 0.7324 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6564, allocations: 3.938 kB / 0.7324 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.6566, allocations: 23.92 kB / 0.7325 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.6566, allocations: 4 kB / 0.7325 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.6567, allocations: 15.89 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.6567, allocations: 4 kB / 0.7325 GB, free: 6.562 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.616e-05/0.6568, allocations: 113.8 kB / 0.7326 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.6568, allocations: 7.906 kB / 0.7326 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.6572, allocations: 162.3 kB / 0.7328 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6572, allocations: 4 kB / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6572, allocations: 0 / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.6572, allocations: 3.984 kB / 0.7328 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.6575, allocations: 205.5 kB / 0.733 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6575, allocations: 0 / 0.733 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.6576, allocations: 27.97 kB / 0.733 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.6576, allocations: 0 / 0.733 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.6577, allocations: 4 kB / 0.733 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.6577, allocations: 3.953 kB / 0.733 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6577, allocations: 4 kB / 0.733 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.658, allocations: 235.6 kB / 0.7332 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.6581, allocations: 81.02 kB / 0.7333 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.6581, allocations: 0 / 0.7333 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.6582, allocations: 15.98 kB / 0.7333 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.6583, allocations: 11.94 kB / 0.7333 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.6583, allocations: 11.94 kB / 0.7333 GB, free: 5.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.913e-05/0.6584, allocations: 99.27 kB / 0.7334 GB, free: 5.492 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6584, allocations: 3.938 kB / 0.7334 GB, free: 5.488 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002386/0.6586, allocations: 19.84 kB / 0.7335 GB, free: 5.469 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.6588, allocations: 99.25 kB / 0.7335 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.6591, allocations: 115.9 kB / 0.7337 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6591, allocations: 0 / 0.7337 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.6592, allocations: 55.91 kB / 0.7337 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.6594, allocations: 10.75 kB / 0.7337 GB, free: 5.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.6598, allocations: 249.1 kB / 0.734 GB, free: 4.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.6602, allocations: 0.7043 MB / 0.7346 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.6604, allocations: 15.97 kB / 0.7347 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.6604, allocations: 11.44 kB / 0.7347 GB, free: 4.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6604, allocations: 0 / 0.7347 GB, free: 4.16 MB / 0.545 GB Notification: Performance of Templates: time 0.002865/0.6633, allocations: 0.5957 MB / 0.7353 GB, free: 3.566 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: