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.001044/0.001044, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009231/0.009231, allocations: 169 kB / 16.26 MB, free: 6.652 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.677/1.677, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.6818/0.6818, allocations: 95.62 MB / 366.4 MB, free: 10.23 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.0006809/0.000681, allocations: 12 kB / 447.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4156, allocations: 70.34 MB / 0.5057 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001583/0.4173, allocations: 1.278 MB / 0.5069 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.4181, allocations: 0.5235 MB / 0.5074 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.4181, allocations: 0 / 0.5074 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.4182, allocations: 15.92 kB / 0.5074 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.4183, allocations: 11.86 kB / 0.5075 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.4185, allocations: 31.91 kB / 0.5075 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.4187, allocations: 75.7 kB / 0.5076 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4189, allocations: 42.17 kB / 0.5076 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.149e-05/0.419, allocations: 27.92 kB / 0.5076 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.4191, allocations: 35.78 kB / 0.5077 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.4191, allocations: 4 kB / 0.5077 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.4192, allocations: 15.98 kB / 0.5077 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.4192, allocations: 7.938 kB / 0.5077 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.4193, allocations: 61.44 kB / 0.5077 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.4194, allocations: 79.69 kB / 0.5078 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4194, allocations: 0 / 0.5078 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4194, allocations: 0 / 0.5078 GB, free: 14.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4194, allocations: 0 / 0.5078 GB, free: 14.18 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.00056/0.42, allocations: 395.1 kB / 0.5082 GB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.42, allocations: 11.98 kB / 0.5082 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.4201, allocations: 12.84 kB / 0.5082 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.4203, allocations: 196.1 kB / 0.5084 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.4203, allocations: 7.938 kB / 0.5084 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.4204, allocations: 8 kB / 0.5084 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.4206, allocations: 128.7 kB / 0.5085 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4206, allocations: 0 / 0.5085 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.4207, allocations: 4 kB / 0.5085 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4207, allocations: 0 / 0.5085 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.4209, allocations: 103.9 kB / 0.5086 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.4215, allocations: 388.5 kB / 0.509 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.4217, allocations: 66.55 kB / 0.5091 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4218, allocations: 56.95 kB / 0.5091 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.4218, allocations: 0 / 0.5091 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.4219, allocations: 34.56 kB / 0.5092 GB, free: 12.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.4219, allocations: 4 kB / 0.5092 GB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004493/0.4223, allocations: 193.4 kB / 0.5094 GB, free: 12.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.4224, allocations: 55.41 kB / 0.5094 GB, free: 12.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.4224, allocations: 127.9 kB / 0.5095 GB, free: 12.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.4225, allocations: 25.7 kB / 0.5096 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.4225, allocations: 104 kB / 0.5097 GB, free: 12.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.4226, allocations: 23.8 kB / 0.5097 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.4226, allocations: 9.719 kB / 0.5097 GB, free: 12.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.4227, allocations: 326.8 kB / 0.51 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4228, allocations: 43.97 kB / 0.51 GB, free: 11.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.449e-05/0.4229, allocations: 43.97 kB / 0.5101 GB, free: 11.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.4231, allocations: 108.7 kB / 0.5102 GB, free: 11.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4231, allocations: 3.938 kB / 0.5102 GB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002495/0.4233, allocations: 145.4 kB / 0.5103 GB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4234, allocations: 4 kB / 0.5103 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4234, allocations: 0 / 0.5103 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4234, allocations: 3.984 kB / 0.5103 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4235, allocations: 19.98 kB / 0.5104 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4235, allocations: 0 / 0.5104 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.4236, allocations: 12 kB / 0.5104 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.4237, allocations: 11.98 kB / 0.5104 GB, free: 11.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.4237, allocations: 113.8 kB / 0.5105 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.4238, allocations: 11.84 kB / 0.5105 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.4241, allocations: 162.7 kB / 0.5107 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4241, allocations: 0 / 0.5107 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4241, allocations: 4.062 kB / 0.5107 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4241, allocations: 0 / 0.5107 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.4243, allocations: 209.5 kB / 0.5109 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4243, allocations: 0 / 0.5109 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.4244, allocations: 23.92 kB / 0.5109 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4244, allocations: 11.97 kB / 0.5109 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4244, allocations: 4 kB / 0.5109 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4244, allocations: 0 / 0.5109 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4245, allocations: 0 / 0.5109 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.4248, allocations: 239.3 kB / 0.5111 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.4248, allocations: 92.89 kB / 0.5112 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.4248, allocations: 0 / 0.5112 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.4249, allocations: 11.98 kB / 0.5112 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.425, allocations: 0 / 0.5112 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.425, allocations: 11.98 kB / 0.5112 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.459e-05/0.4251, allocations: 105.3 kB / 0.5113 GB, free: 10.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4251, allocations: 0 / 0.5113 GB, free: 10.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.4253, allocations: 16 kB / 0.5113 GB, free: 10.25 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 (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.000138/0.4254, allocations: 95.25 kB / 0.5114 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.4257, allocations: 115.9 kB / 0.5115 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4257, allocations: 0 / 0.5115 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.4258, allocations: 63.91 kB / 0.5116 GB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.4261, allocations: 7.938 kB / 0.5116 GB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.4265, allocations: 249.1 kB / 0.5119 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.4267, allocations: 0.7004 MB / 0.5125 GB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.4268, allocations: 19.92 kB / 0.5126 GB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.4268, allocations: 11.44 kB / 0.5126 GB, free: 8.934 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4269, allocations: 0 / 0.5126 GB, free: 8.934 MB / 382.1 MB Notification: Performance of Templates: time 0.003275/0.4301, allocations: 0.6103 MB / 0.5132 GB, free: 8.328 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: