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.0009158/0.0009158, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.000945/0.000945, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.206/1.206, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.278/1.278, allocations: 251.6 MB / 0.5089 GB, free: 3.301 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.001227/0.001227, allocations: 75.89 kB / 0.6217 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4025, allocations: 104.7 MB / 0.724 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002713/0.4053, allocations: 1.651 MB / 0.7256 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007202/0.406, allocations: 0.5625 MB / 0.7261 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.4061, allocations: 4 kB / 0.7262 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.4062, allocations: 3.938 kB / 0.7262 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.182e-05/0.4062, allocations: 7.875 kB / 0.7262 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4064, allocations: 39.97 kB / 0.7262 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.4066, allocations: 83.75 kB / 0.7263 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.4067, allocations: 36.22 kB / 0.7263 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.4068, allocations: 39.8 kB / 0.7264 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.4069, allocations: 43.83 kB / 0.7264 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.4069, allocations: 8 kB / 0.7264 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.407, allocations: 11.98 kB / 0.7264 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.407, allocations: 19.92 kB / 0.7264 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.4071, allocations: 39.75 kB / 0.7265 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.4072, allocations: 85.81 kB / 0.7266 GB, free: 10.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4072, allocations: 0 / 0.7266 GB, free: 10.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4072, allocations: 0 / 0.7266 GB, free: 10.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4072, allocations: 4 kB / 0.7266 GB, free: 10.62 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.0004702/0.4077, allocations: 399 kB / 0.7269 GB, free: 10.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.4077, allocations: 8.031 kB / 0.7269 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.4078, allocations: 12.84 kB / 0.727 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.4079, allocations: 198.1 kB / 0.7271 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4079, allocations: 8.312 kB / 0.7272 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.408, allocations: 8.375 kB / 0.7272 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.4082, allocations: 117.8 kB / 0.7273 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.4082, allocations: 0 / 0.7273 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4082, allocations: 8 kB / 0.7273 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4082, allocations: 0 / 0.7273 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.4084, allocations: 95.92 kB / 0.7274 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.4089, allocations: 380.6 kB / 0.7277 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.4091, allocations: 58.55 kB / 0.7278 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.832e-05/0.4092, allocations: 44.95 kB / 0.7278 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.4092, allocations: 7.984 kB / 0.7278 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4092, allocations: 42.5 kB / 0.7279 GB, free: 9.102 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4092, allocations: 0 / 0.7279 GB, free: 9.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0003856/0.4096, allocations: 169.7 kB / 0.728 GB, free: 8.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4097, allocations: 55.34 kB / 0.7281 GB, free: 8.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.4098, allocations: 129.8 kB / 0.7282 GB, free: 8.727 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4098, allocations: 33.7 kB / 0.7283 GB, free: 8.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.4098, allocations: 104.1 kB / 0.7284 GB, free: 8.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.4099, allocations: 23.66 kB / 0.7284 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.4099, allocations: 21.7 kB / 0.7284 GB, free: 8.531 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.41, allocations: 318.8 kB / 0.7287 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4101, allocations: 39.97 kB / 0.7287 GB, free: 8.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.4102, allocations: 39.95 kB / 0.7288 GB, free: 8.133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.4104, allocations: 92.75 kB / 0.7289 GB, free: 8.039 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4104, allocations: 0 / 0.7289 GB, free: 8.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002331/0.4106, allocations: 125.5 kB / 0.729 GB, free: 7.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4107, allocations: 10.03 kB / 0.729 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.4107, allocations: 0 / 0.729 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.4107, allocations: 0 / 0.729 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4108, allocations: 23.92 kB / 0.729 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.4108, allocations: 0 / 0.729 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.4109, allocations: 11.98 kB / 0.729 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4109, allocations: 0 / 0.729 GB, free: 7.867 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.125e-05/0.411, allocations: 125.8 kB / 0.7291 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.411, allocations: 7.906 kB / 0.7292 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.4113, allocations: 142.3 kB / 0.7293 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4113, allocations: 3.938 kB / 0.7293 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4113, allocations: 0 / 0.7293 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4113, allocations: 3.938 kB / 0.7293 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.4115, allocations: 205.9 kB / 0.7295 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4115, allocations: 0 / 0.7295 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.275e-05/0.4116, allocations: 23.98 kB / 0.7295 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4116, allocations: 0 / 0.7295 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4117, allocations: 0 / 0.7295 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4117, allocations: 7.875 kB / 0.7295 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4117, allocations: 8 kB / 0.7295 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.4119, allocations: 215.4 kB / 0.7297 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.412, allocations: 81.02 kB / 0.7298 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.412, allocations: 8 kB / 0.7298 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.4121, allocations: 11.92 kB / 0.7298 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.4121, allocations: 11.98 kB / 0.7298 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.4122, allocations: 0 / 0.7298 GB, free: 6.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.4122, allocations: 103.3 kB / 0.7299 GB, free: 6.828 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4122, allocations: 0 / 0.7299 GB, free: 6.828 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002118/0.4124, allocations: 23.84 kB / 0.73 GB, free: 6.805 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.0001215/0.4126, allocations: 111.2 kB / 0.7301 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.4128, allocations: 99.88 kB / 0.7302 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4128, allocations: 0 / 0.7302 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4129, allocations: 55.91 kB / 0.7302 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.4131, allocations: 11.98 kB / 0.7302 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.4135, allocations: 242.6 kB / 0.7305 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.4137, allocations: 0.7002 MB / 0.7311 GB, free: 5.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.41e-05/0.4138, allocations: 19.95 kB / 0.7312 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.4138, allocations: 15.42 kB / 0.7312 GB, free: 5.504 MB / 0.545 GB Notification: Performance of SimCode: time 1.91e-07/0.4138, allocations: 0 / 0.7312 GB, free: 5.504 MB / 0.545 GB Notification: Performance of Templates: time 0.0022/0.416, allocations: 0.6564 MB / 0.7318 GB, free: 4.855 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)