Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001085/0.001086, allocations: 175.4 kB / 371.8 MB, free: 10.28 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.955/1.955, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008459/0.0008458, allocations: 93.08 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004732, allocations: 12.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2533, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001609/0.255, allocations: 1.277 MB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006858/0.2557, allocations: 0.5173 MB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.2558, allocations: 0 / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.822e-05/0.2559, allocations: 7.922 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.963e-05/0.2559, allocations: 19.91 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2561, allocations: 35.89 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.555e-05/0.2562, allocations: 51.88 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.2564, allocations: 28.22 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.424e-05/0.2564, allocations: 27.91 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.2565, allocations: 31.84 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2565, allocations: 4 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.83e-05/0.2566, allocations: 4 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.2566, allocations: 19.91 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.2566, allocations: 41.64 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.758e-05/0.2567, allocations: 60.05 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2567, allocations: 0 / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2568, allocations: 0 / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2568, allocations: 0 / 0.9815 GB, free: 25.55 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.0004602/0.2572, allocations: 396.2 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2573, allocations: 12.02 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.2573, allocations: 7.906 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2575, allocations: 194.8 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.2575, allocations: 3.938 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.2575, allocations: 11.94 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.2577, allocations: 115.7 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2578, allocations: 0 / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2578, allocations: 4 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2578, allocations: 4 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.258, allocations: 103.9 kB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.2585, allocations: 388.5 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.2587, allocations: 66.55 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.2587, allocations: 7.984 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.2587, allocations: 30.56 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2587, allocations: 0 / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004184/0.2592, allocations: 189.5 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2592, allocations: 59.41 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.2593, allocations: 135.2 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.2593, allocations: 25.7 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.2593, allocations: 104.2 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.2594, allocations: 19.8 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.2594, allocations: 0 / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.2594, allocations: 322.8 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.2595, allocations: 47.97 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.2596, allocations: 43.97 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.2597, allocations: 48.34 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2598, allocations: 4 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002302/0.26, allocations: 141.5 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.26, allocations: 4 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.26, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.26, allocations: 3.953 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2602, allocations: 27.97 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2602, allocations: 0 / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.2603, allocations: 8 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.2603, allocations: 7.984 kB / 0.9839 GB, free: 22.86 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 6.13e-05/0.2604, allocations: 117.8 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.2604, allocations: 7.906 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.2607, allocations: 154.3 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2607, allocations: 7.953 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2607, allocations: 3.984 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.2607, allocations: 0 / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.2609, allocations: 213.5 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2609, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.261, allocations: 23.97 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.261, allocations: 0 / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.261, allocations: 7.922 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.261, allocations: 4 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.261, allocations: 3.953 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.2613, allocations: 235.3 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.2613, allocations: 85.02 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2614, allocations: 4.188 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.2615, allocations: 15.98 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.2615, allocations: 4 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2615, allocations: 15.88 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.2616, allocations: 100.8 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2616, allocations: 0 / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002165/0.2618, allocations: 16 kB / 0.9849 GB, free: 21.77 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.0001177/0.2619, allocations: 99.25 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.2622, allocations: 115.9 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2622, allocations: 0 / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2623, allocations: 59.97 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.2624, allocations: 4 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.2628, allocations: 237.1 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2629, allocations: 0.7082 MB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.851e-05/0.263, allocations: 15.97 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.2631, allocations: 15.44 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2631, allocations: 0 / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.002263/0.2653, allocations: 0.5931 MB / 0.9867 GB, free: 19.87 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)