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.0009867/0.0009869, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008787/0.0008787, allocations: 172.7 kB / 15.95 MB, free: 208 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.786/1.786, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.6563/0.6563, allocations: 95.62 MB / 366 MB, free: 10.34 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.0005172/0.0005173, allocations: 12 kB / 446.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3881, allocations: 70.33 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001895/0.3901, allocations: 1.263 MB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.3911, allocations: 0.5082 MB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.3912, allocations: 0 / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.3913, allocations: 3.938 kB / 0.5068 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.313e-05/0.3914, allocations: 15.86 kB / 0.5068 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3917, allocations: 27.97 kB / 0.5068 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3918, allocations: 79.69 kB / 0.5069 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.392, allocations: 32.22 kB / 0.5069 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.3921, allocations: 27.86 kB / 0.507 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.3922, allocations: 31.83 kB / 0.507 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3922, allocations: 7.938 kB / 0.507 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.9e-05/0.3923, allocations: 8 kB / 0.507 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.3923, allocations: 15.92 kB / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.3924, allocations: 33.7 kB / 0.5071 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3925, allocations: 57.86 kB / 0.5071 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3925, allocations: 0 / 0.5071 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3925, allocations: 3.938 kB / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3925, allocations: 0 / 0.5071 GB, free: 14.34 MB / 382.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.0004819/0.393, allocations: 403 kB / 0.5075 GB, free: 13.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.393, allocations: 11.98 kB / 0.5075 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.3931, allocations: 7.906 kB / 0.5075 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3932, allocations: 189.1 kB / 0.5077 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3933, allocations: 3.953 kB / 0.5077 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3933, allocations: 8 kB / 0.5077 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.3935, allocations: 117.6 kB / 0.5078 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3936, allocations: 0 / 0.5078 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3936, allocations: 4 kB / 0.5078 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3936, allocations: 7.938 kB / 0.5078 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.3938, allocations: 107.9 kB / 0.5079 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.3943, allocations: 392.4 kB / 0.5083 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3945, allocations: 74.53 kB / 0.5084 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3946, allocations: 52.95 kB / 0.5084 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.3946, allocations: 0 / 0.5084 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3947, allocations: 38.56 kB / 0.5085 GB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 7.62e-07/0.3947, allocations: 4 kB / 0.5085 GB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004462/0.3951, allocations: 185.4 kB / 0.5087 GB, free: 12.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.3952, allocations: 55.36 kB / 0.5087 GB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.3952, allocations: 130 kB / 0.5088 GB, free: 12.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.3952, allocations: 29.7 kB / 0.5089 GB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.3953, allocations: 104.3 kB / 0.509 GB, free: 12.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3953, allocations: 19.75 kB / 0.509 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.3953, allocations: 0 / 0.509 GB, free: 12.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.3954, allocations: 318.8 kB / 0.5093 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.3955, allocations: 47.97 kB / 0.5093 GB, free: 11.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-05/0.3956, allocations: 43.97 kB / 0.5094 GB, free: 11.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.474e-05/0.3957, allocations: 51.97 kB / 0.5094 GB, free: 11.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3957, allocations: 0 / 0.5094 GB, free: 11.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002144/0.3959, allocations: 137.5 kB / 0.5096 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.396, allocations: 14.19 kB / 0.5096 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.396, allocations: 0 / 0.5096 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.396, allocations: 0 / 0.5096 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3961, allocations: 23.98 kB / 0.5096 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3961, allocations: 0 / 0.5096 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.3962, allocations: 20.28 kB / 0.5096 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.3962, allocations: 4 kB / 0.5096 GB, free: 11.58 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/0.3963, allocations: 117.8 kB / 0.5097 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.3963, allocations: 11.89 kB / 0.5097 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.3966, allocations: 158.3 kB / 0.5099 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3966, allocations: 4 kB / 0.5099 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3966, allocations: 4 kB / 0.5099 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3966, allocations: 0 / 0.5099 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.3968, allocations: 201.6 kB / 0.5101 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3968, allocations: 0 / 0.5101 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/0.3969, allocations: 23.97 kB / 0.5101 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3969, allocations: 0 / 0.5101 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3969, allocations: 3.938 kB / 0.5101 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3969, allocations: 0 / 0.5101 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3969, allocations: 0 / 0.5101 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3972, allocations: 243.3 kB / 0.5103 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.3972, allocations: 85.02 kB / 0.5104 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3972, allocations: 7.938 kB / 0.5104 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.3973, allocations: 11.98 kB / 0.5104 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.3974, allocations: 11.98 kB / 0.5105 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.3974, allocations: 4 kB / 0.5105 GB, free: 10.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.3975, allocations: 99.27 kB / 0.5106 GB, free: 10.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3975, allocations: 0 / 0.5106 GB, free: 10.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.3977, allocations: 15.94 kB / 0.5106 GB, free: 10.5 MB / 382.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 (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.0001227/0.3978, allocations: 107.2 kB / 0.5107 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.3981, allocations: 107.9 kB / 0.5108 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3981, allocations: 0 / 0.5108 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3982, allocations: 63.91 kB / 0.5108 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.3985, allocations: 7.953 kB / 0.5108 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.3989, allocations: 245 kB / 0.5111 GB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.3991, allocations: 0.7004 MB / 0.5118 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.3992, allocations: 16.36 kB / 0.5118 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.3992, allocations: 15.42 kB / 0.5118 GB, free: 9.184 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3992, allocations: 0 / 0.5118 GB, free: 9.184 MB / 382.1 MB Notification: Performance of Templates: time 0.003753/0.403, allocations: 0.6018 MB / 0.5124 GB, free: 8.586 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: