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.0009424/0.0009424, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009881/0.0009881, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.159/1.159, allocations: 205.1 MB / 222 MB, free: 4.977 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.339/1.339, allocations: 251.6 MB / 0.5088 GB, free: 3.344 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.001272/0.001272, allocations: 67.91 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3661, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002555/0.3687, allocations: 1.663 MB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007164/0.3694, allocations: 0.5509 MB / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.3695, allocations: 0 / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.508e-05/0.3696, allocations: 7.922 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.184e-05/0.3696, allocations: 11.88 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.3698, allocations: 43.89 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.487e-05/0.3699, allocations: 71.72 kB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.3701, allocations: 36.22 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.3702, allocations: 43.89 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.3702, allocations: 35.84 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3703, allocations: 7.938 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.3703, allocations: 12 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.3704, allocations: 11.98 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.3704, allocations: 43.72 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3706, allocations: 81.67 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3706, allocations: 0 / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.61e-07/0.3706, allocations: 0 / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.3706, allocations: 0 / 0.7263 GB, free: 10.54 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.0005174/0.3711, allocations: 411.1 kB / 0.7267 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3712, allocations: 8.031 kB / 0.7267 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.3712, allocations: 12.78 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3714, allocations: 200 kB / 0.727 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3714, allocations: 8.375 kB / 0.727 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3714, allocations: 8.312 kB / 0.727 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.3716, allocations: 109.9 kB / 0.7271 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3717, allocations: 4 kB / 0.7271 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3717, allocations: 4 kB / 0.7271 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3717, allocations: 7.984 kB / 0.7271 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.3719, allocations: 91.94 kB / 0.7272 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.3725, allocations: 376.6 kB / 0.7275 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3726, allocations: 62.48 kB / 0.7276 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3727, allocations: 52.95 kB / 0.7276 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3728, allocations: 3.984 kB / 0.7276 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3728, allocations: 38.56 kB / 0.7277 GB, free: 9.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3728, allocations: 0 / 0.7277 GB, free: 9.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004116/0.3732, allocations: 157.5 kB / 0.7278 GB, free: 8.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.3733, allocations: 51.41 kB / 0.7279 GB, free: 8.789 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.3733, allocations: 139.5 kB / 0.728 GB, free: 8.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.3734, allocations: 25.7 kB / 0.728 GB, free: 8.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.3734, allocations: 112.1 kB / 0.7281 GB, free: 8.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3734, allocations: 27.58 kB / 0.7282 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.3735, allocations: 17.72 kB / 0.7282 GB, free: 8.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.3736, allocations: 322.8 kB / 0.7285 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3737, allocations: 35.97 kB / 0.7285 GB, free: 8.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.3738, allocations: 39.97 kB / 0.7286 GB, free: 8.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.374, allocations: 92.8 kB / 0.7287 GB, free: 7.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.374, allocations: 0 / 0.7287 GB, free: 7.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002345/0.3742, allocations: 121.5 kB / 0.7288 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.3743, allocations: 4 kB / 0.7288 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.3743, allocations: 0 / 0.7288 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.3743, allocations: 3.984 kB / 0.7288 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3744, allocations: 27.86 kB / 0.7288 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3744, allocations: 4 kB / 0.7288 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.3745, allocations: 7.938 kB / 0.7288 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3745, allocations: 12.42 kB / 0.7288 GB, free: 7.773 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/0.3746, allocations: 113.8 kB / 0.7289 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.3746, allocations: 7.906 kB / 0.7289 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.3749, allocations: 146.3 kB / 0.7291 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.375, allocations: 7.938 kB / 0.7291 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.375, allocations: 0 / 0.7291 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.375, allocations: 0 / 0.7291 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3752, allocations: 209.5 kB / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3752, allocations: 0 / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.3753, allocations: 19.97 kB / 0.7293 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3753, allocations: 4 kB / 0.7293 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.3753, allocations: 3.938 kB / 0.7293 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3753, allocations: 3.938 kB / 0.7293 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3753, allocations: 0 / 0.7293 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.3756, allocations: 223.4 kB / 0.7295 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.3756, allocations: 85.02 kB / 0.7296 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3757, allocations: 0 / 0.7296 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.3758, allocations: 15.92 kB / 0.7296 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.3758, allocations: 0 / 0.7296 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3758, allocations: 15.92 kB / 0.7297 GB, free: 6.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.3759, allocations: 105.7 kB / 0.7298 GB, free: 6.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3759, allocations: 0 / 0.7298 GB, free: 6.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000216/0.3761, allocations: 23.94 kB / 0.7298 GB, free: 6.711 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 (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.0001034/0.3762, allocations: 95.25 kB / 0.7299 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.3765, allocations: 95.92 kB / 0.73 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3765, allocations: 8 kB / 0.73 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3766, allocations: 55.91 kB / 0.73 GB, free: 6.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.3768, allocations: 4 kB / 0.73 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.3772, allocations: 248.9 kB / 0.7303 GB, free: 6.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.3774, allocations: 0.7004 MB / 0.7309 GB, free: 5.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.334e-05/0.3775, allocations: 12.36 kB / 0.731 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.3775, allocations: 11.44 kB / 0.731 GB, free: 5.434 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3775, allocations: 0 / 0.731 GB, free: 5.434 MB / 0.545 GB Notification: Performance of Templates: time 0.002145/0.3797, allocations: 0.6313 MB / 0.7316 GB, free: 4.805 MB / 0.545 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)