Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.688/1.688, allocations: 297.8 MB / 313.7 MB, free: 24 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 180.5 kB / 384.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 0.6626 GB, free: 4.211 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009662/0.0009662, allocations: 97.92 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004767, allocations: 16 kB / 0.9088 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.7742, allocations: 120.3 MB / 1.026 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2111/0.9854, allocations: 142 MB / 1.165 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.9857, allocations: 80.31 kB / 1.165 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004976/0.9907, allocations: 1.758 MB / 1.167 GB, free: 268 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9907, allocations: 1.062 kB / 1.167 GB, free: 268 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9907, allocations: 4 kB / 1.167 GB, free: 264 kB / 0.7292 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.0004677/0.9912, allocations: 393 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.9912, allocations: 8.031 kB / 1.167 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.9913, allocations: 10.83 kB / 1.167 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.9915, allocations: 210.2 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.9915, allocations: 6.109 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.9916, allocations: 10.59 kB / 1.167 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.9919, allocations: 110.4 kB / 1.167 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.9919, allocations: 192 / 1.167 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.9919, allocations: 13.69 kB / 1.167 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.9919, allocations: 0.9375 kB / 1.167 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.9922, allocations: 100.1 kB / 1.168 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.9928, allocations: 388.3 kB / 1.168 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.993, allocations: 64.44 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.9931, allocations: 59.56 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.9932, allocations: 0.7969 kB / 1.168 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.9932, allocations: 35.36 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.9932, allocations: 1.875 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0004845/0.9937, allocations: 180.1 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.9938, allocations: 52.06 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.9939, allocations: 130.7 kB / 1.168 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.994, allocations: 34.86 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.994, allocations: 99.75 kB / 1.169 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.9941, allocations: 24.48 kB / 1.169 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.9941, allocations: 0 / 1.169 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.9942, allocations: 321.7 kB / 1.169 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.9944, allocations: 49.8 kB / 1.169 GB, free: 14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.9945, allocations: 42.17 kB / 1.169 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.9947, allocations: 101.6 kB / 1.169 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9947, allocations: 0.8438 kB / 1.169 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002859/0.995, allocations: 135.3 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.995, allocations: 6.062 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9951, allocations: 0 / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.9951, allocations: 2.453 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.9952, allocations: 21.25 kB / 1.169 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.9952, allocations: 12.39 kB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.9953, allocations: 14.77 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.9953, allocations: 1.359 kB / 1.169 GB, free: 13.72 MB / 0.7448 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 0.000103/0.9955, allocations: 124 kB / 1.169 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.9955, allocations: 8.516 kB / 1.169 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.9959, allocations: 152.7 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9959, allocations: 4 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9959, allocations: 7.875 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9959, allocations: 0.75 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.9962, allocations: 203.7 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9962, allocations: 0.5625 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.9963, allocations: 25.95 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.9963, allocations: 0.75 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.9963, allocations: 4.703 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.9963, allocations: 9.641 kB / 1.17 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9964, allocations: 3.938 kB / 1.17 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.9967, allocations: 228.2 kB / 1.17 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.9968, allocations: 82.23 kB / 1.17 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.9968, allocations: 8 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.9969, allocations: 11.81 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.997, allocations: 8.391 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.997, allocations: 5.828 kB / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.405e-05/0.9971, allocations: 104.9 kB / 1.17 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9971, allocations: 0 / 1.17 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002443/0.9973, allocations: 19.91 kB / 1.17 GB, free: 12.73 MB / 0.7448 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.0002095/0.9975, allocations: 101.1 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.9979, allocations: 109.1 kB / 1.17 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9979, allocations: 4 kB / 1.17 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.998, allocations: 65.59 kB / 1.17 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.9983, allocations: 0 / 1.17 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.9988, allocations: 244.5 kB / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.9992, allocations: 0.7035 MB / 1.171 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.703e-05/0.9993, allocations: 16.98 kB / 1.171 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.9993, allocations: 13.27 kB / 1.171 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.9994, allocations: 5.781 kB / 1.171 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.003182/1.003, allocations: 0.5968 MB / 1.172 GB, free: 11.15 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)