Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.813/1.813, allocations: 287.5 MB / 302.6 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 194.1 kB / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 0.6299 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 99.7 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006258/0.000626, allocations: 16.45 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2297, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001764/0.2315, allocations: 1.296 MB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.2323, allocations: 0.5056 MB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.2324, allocations: 0 / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.821e-05/0.2325, allocations: 7.938 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.2326, allocations: 15.84 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.2328, allocations: 31.98 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.2329, allocations: 75.7 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.2331, allocations: 36.2 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.2332, allocations: 27.86 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.2333, allocations: 35.83 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2333, allocations: 0 / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.2334, allocations: 12 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.2334, allocations: 11.98 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.2334, allocations: 37.64 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.2335, allocations: 56.11 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2335, allocations: 4 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2335, allocations: 4 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2336, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 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.0004584/0.234, allocations: 399.1 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2341, allocations: 8.031 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.2341, allocations: 8.844 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.2343, allocations: 198.6 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2343, allocations: 8.375 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2343, allocations: 8.375 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.2345, allocations: 109.9 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2346, allocations: 0 / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2346, allocations: 4 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2346, allocations: 0 / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.2348, allocations: 117.5 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.2353, allocations: 388.6 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.2355, allocations: 62.48 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2356, allocations: 60.95 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.2356, allocations: 4 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.2357, allocations: 38.48 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2357, allocations: 0 / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004081/0.2361, allocations: 181.5 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.2361, allocations: 55.34 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.2362, allocations: 133.8 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.2362, allocations: 29.7 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.2363, allocations: 104 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.2363, allocations: 23.8 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.2363, allocations: 0 / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.2364, allocations: 322.8 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.881e-05/0.2365, allocations: 43.97 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.2366, allocations: 51.91 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.2367, allocations: 97.17 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2368, allocations: 4 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002504/0.237, allocations: 141.5 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.237, allocations: 7.984 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2371, allocations: 0 / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2371, allocations: 8 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.2372, allocations: 23.92 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2372, allocations: 0 / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.2373, allocations: 11.98 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2373, allocations: 0 / 0.9833 GB, free: 23.21 MB / 0.6198 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.455e-05/0.2374, allocations: 121.8 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.2374, allocations: 11.91 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.2378, allocations: 158.2 kB / 0.9836 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2378, allocations: 3.938 kB / 0.9836 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2378, allocations: 0 / 0.9836 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2378, allocations: 4 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.238, allocations: 201.6 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.238, allocations: 4 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.2381, allocations: 23.97 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2381, allocations: 0 / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.2381, allocations: 4 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2381, allocations: 3.938 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2381, allocations: 0 / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.2384, allocations: 235.3 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.2384, allocations: 85.02 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2385, allocations: 4 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2386, allocations: 20.11 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.2386, allocations: 11.97 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2387, allocations: 4 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.2387, allocations: 105.8 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2387, allocations: 3.938 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002212/0.2389, allocations: 15.91 kB / 0.9843 GB, free: 22.11 MB / 0.6198 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.0001536/0.2391, allocations: 103.2 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.2394, allocations: 111.9 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2394, allocations: 3.938 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.2395, allocations: 67.91 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.2398, allocations: 3.938 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.2402, allocations: 241.1 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.2404, allocations: 0.7043 MB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.2405, allocations: 11.98 kB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.2405, allocations: 11.44 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.2405, allocations: 0 / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.002586/0.2431, allocations: 0.6045 MB / 0.9861 GB, free: 20.2 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)