Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.000991/0.0009907, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001366/0.001366, allocations: 168.7 kB / 15.95 MB, free: 204 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.695/1.695, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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.0004833/0.0004834, allocations: 14.55 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3259, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002146/0.3281, allocations: 1.292 MB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.329, allocations: 0.5097 MB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.3291, allocations: 3.938 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.3292, allocations: 15.86 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.3293, allocations: 11.88 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.3295, allocations: 31.95 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3296, allocations: 75.7 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3297, allocations: 28.22 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.3298, allocations: 27.91 kB / 0.7892 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.3299, allocations: 27.84 kB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.33, allocations: 4 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.949e-05/0.33, allocations: 12 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.3301, allocations: 15.92 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.3301, allocations: 41.64 kB / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3302, allocations: 56.11 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3302, allocations: 0 / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3302, allocations: 0 / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.3303, allocations: 4 kB / 0.7894 GB, free: 9.758 MB / 0.6075 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.000518/0.3308, allocations: 391 kB / 0.7898 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3308, allocations: 8.031 kB / 0.7898 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.3309, allocations: 11.84 kB / 0.7898 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.331, allocations: 198.8 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3311, allocations: 7.938 kB / 0.79 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.3311, allocations: 8 kB / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.3314, allocations: 113 kB / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3314, allocations: 0 / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3314, allocations: 0 / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3314, allocations: 4 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.3317, allocations: 107.9 kB / 0.7902 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.3324, allocations: 392.5 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3325, allocations: 62.55 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3326, allocations: 60.95 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.3327, allocations: 0 / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3327, allocations: 42.45 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 2.574e-06/0.3327, allocations: 3.984 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004584/0.3332, allocations: 181.5 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3332, allocations: 55.41 kB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3334, allocations: 133 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3334, allocations: 25.7 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.3335, allocations: 108.2 kB / 0.7912 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.3335, allocations: 23.8 kB / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.3335, allocations: 0 / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3336, allocations: 318.8 kB / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3337, allocations: 43.97 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.3338, allocations: 51.91 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.334, allocations: 51.91 kB / 0.7917 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.334, allocations: 0 / 0.7917 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002566/0.3342, allocations: 137.5 kB / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3343, allocations: 4 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3343, allocations: 3.953 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3343, allocations: 3.984 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3344, allocations: 20.42 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3344, allocations: 0 / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.3345, allocations: 15.94 kB / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.3346, allocations: 15.98 kB / 0.7919 GB, free: 6.996 MB / 0.6075 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 7.619e-05/0.3346, allocations: 113.8 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.3347, allocations: 7.906 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.335, allocations: 158.2 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.335, allocations: 7.953 kB / 0.7922 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.335, allocations: 0 / 0.7922 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3351, allocations: 0 / 0.7922 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.3353, allocations: 213.5 kB / 0.7924 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3353, allocations: 0 / 0.7924 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3354, allocations: 27.97 kB / 0.7924 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3354, allocations: 0 / 0.7924 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3354, allocations: 0 / 0.7924 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3354, allocations: 4 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3354, allocations: 3.953 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.3358, allocations: 239.3 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.3359, allocations: 81.02 kB / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3359, allocations: 0 / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.336, allocations: 11.98 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.336, allocations: 7.953 kB / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3361, allocations: 11.98 kB / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.38e-05/0.3361, allocations: 99.27 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3361, allocations: 0 / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002425/0.3364, allocations: 16 kB / 0.7928 GB, free: 5.91 MB / 0.6075 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.0001853/0.3366, allocations: 99.25 kB / 0.7929 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.3369, allocations: 115.9 kB / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3369, allocations: 4 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.337, allocations: 52.22 kB / 0.7931 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.3373, allocations: 8 kB / 0.7931 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.3378, allocations: 253.1 kB / 0.7933 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3381, allocations: 0.7004 MB / 0.794 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.3382, allocations: 19.98 kB / 0.794 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.3383, allocations: 11.38 kB / 0.7941 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3383, allocations: 4 kB / 0.7941 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of Templates: time 0.002793/0.3411, allocations: 0.5964 MB / 0.7946 GB, free: 4 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: