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.653/1.653, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.001157/0.001157, allocations: 193.5 kB / 371.9 MB, free: 10.3 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.681/1.681, allocations: 205.4 MB / 0.6306 GB, free: 9.945 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.0008824/0.0008825, allocations: 97.64 kB / 0.7439 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003984, allocations: 15.88 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2429, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7587/1.002, allocations: 138.8 MB / 1.115 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/1.002, allocations: 77.33 kB / 1.115 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005393/1.007, allocations: 1.692 MB / 1.117 GB, free: 31.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/1.007, allocations: 0 / 1.117 GB, free: 31.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.748e-06/1.008, allocations: 0 / 1.117 GB, free: 31.93 MB / 0.698 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.0004899/1.008, allocations: 405.8 kB / 1.117 GB, free: 31.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.008, allocations: 11.8 kB / 1.117 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/1.008, allocations: 11.47 kB / 1.117 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/1.008, allocations: 201.4 kB / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/1.008, allocations: 11.28 kB / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/1.008, allocations: 3.906 kB / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/1.009, allocations: 115.4 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.009, allocations: 7.438 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/1.009, allocations: 3.5 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.009, allocations: 3.906 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/1.009, allocations: 100.9 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/1.01, allocations: 379.8 kB / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/1.01, allocations: 66.7 kB / 1.118 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/1.01, allocations: 8.594 kB / 1.118 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/1.01, allocations: 34.98 kB / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/1.01, allocations: 0 / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004645/1.01, allocations: 184.6 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/1.01, allocations: 51.41 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/1.01, allocations: 126.9 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.01, allocations: 29.64 kB / 1.118 GB, free: 30.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/1.011, allocations: 103.7 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/1.011, allocations: 24.56 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/1.011, allocations: 3.375 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.011, allocations: 320.5 kB / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/1.011, allocations: 41.02 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/1.011, allocations: 46.27 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/1.011, allocations: 41.69 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.011, allocations: 0 / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002483/1.011, allocations: 142.2 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.011, allocations: 7.781 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.011, allocations: 0 / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.011, allocations: 3.953 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/1.012, allocations: 28.53 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.012, allocations: 0 / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/1.012, allocations: 10.7 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/1.012, allocations: 3.875 kB / 1.119 GB, free: 30.22 MB / 0.698 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 8.563e-05/1.012, allocations: 119.3 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/1.012, allocations: 7.75 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/1.012, allocations: 158.9 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.012, allocations: 3.812 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.012, allocations: 3.953 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.012, allocations: 0 / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/1.012, allocations: 205.9 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.012, allocations: 4 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/1.012, allocations: 18.92 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.012, allocations: 7.234 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/1.012, allocations: 3.938 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.012, allocations: 0 / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.012, allocations: 0 / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/1.013, allocations: 237.7 kB / 1.12 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/1.013, allocations: 92.77 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/1.013, allocations: 0 / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/1.013, allocations: 10.39 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/1.013, allocations: 14.3 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/1.013, allocations: 6.594 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.26e-05/1.013, allocations: 108.7 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.013, allocations: 0 / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002487/1.013, allocations: 15.25 kB / 1.12 GB, free: 29.53 MB / 0.698 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.0001477/1.014, allocations: 97.75 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002583/1.014, allocations: 116 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.014, allocations: 0 / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/1.014, allocations: 61.56 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/1.014, allocations: 7.375 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/1.014, allocations: 235.5 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/1.015, allocations: 0.7091 MB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.713e-05/1.015, allocations: 17.62 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/1.015, allocations: 10.48 kB / 1.121 GB, free: 28.56 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/1.015, allocations: 0 / 1.121 GB, free: 28.56 MB / 0.698 GB Notification: Performance of Templates: time 0.002499/1.017, allocations: 0.5991 MB / 1.122 GB, free: 28.5 MB / 0.698 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)