Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 182.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4906/0.4906, allocations: 92 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 354.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 100.2 kB / 427.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004933, allocations: 12 kB / 0.4982 GB, free: 42.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1804, allocations: 72.31 MB / 0.5689 GB, free: 1.984 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5152/0.6956, allocations: 102.3 MB / 0.6687 GB, free: 2.293 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.696, allocations: 75.95 kB / 0.6688 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005933/0.7019, allocations: 1.752 MB / 0.6705 GB, free: 488 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.702, allocations: 0 / 0.6705 GB, free: 488 kB / 458.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.702, allocations: 4 kB / 0.6705 GB, free: 484 kB / 458.7 MB 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.0005909/0.7026, allocations: 406.9 kB / 0.6709 GB, free: 28 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.7027, allocations: 12.03 kB / 0.6709 GB, free: 16 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.7027, allocations: 8.469 kB / 0.6709 GB, free: 8 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.703, allocations: 198.8 kB / 0.6711 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.703, allocations: 4 kB / 0.6711 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.703, allocations: 8 kB / 0.6711 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.7034, allocations: 113.6 kB / 0.6712 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.7034, allocations: 4 kB / 0.6712 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.7034, allocations: 1.938 kB / 0.6713 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.7034, allocations: 3.953 kB / 0.6713 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.7037, allocations: 103.9 kB / 0.6714 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.7045, allocations: 392.4 kB / 0.6717 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.7047, allocations: 66.48 kB / 0.6718 GB, free: 15.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.7047, allocations: 7.922 kB / 0.6718 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.7048, allocations: 34.56 kB / 0.6718 GB, free: 14.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.7048, allocations: 4 kB / 0.6718 GB, free: 14.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005396/0.7053, allocations: 169.6 kB / 0.672 GB, free: 14.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.7054, allocations: 55.41 kB / 0.6721 GB, free: 14.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.7055, allocations: 122.7 kB / 0.6722 GB, free: 14.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.7056, allocations: 29.7 kB / 0.6722 GB, free: 14.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.7056, allocations: 100.2 kB / 0.6723 GB, free: 14.47 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.7057, allocations: 23.8 kB / 0.6723 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.7057, allocations: 0 / 0.6723 GB, free: 14.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7059, allocations: 318.8 kB / 0.6726 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.706, allocations: 47.97 kB / 0.6727 GB, free: 14.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.7061, allocations: 43.91 kB / 0.6727 GB, free: 14.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.7063, allocations: 47.97 kB / 0.6728 GB, free: 13.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.7063, allocations: 4 kB / 0.6728 GB, free: 13.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003282/0.7066, allocations: 133.9 kB / 0.6729 GB, free: 13.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.7066, allocations: 11.98 kB / 0.6729 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.7067, allocations: 4.062 kB / 0.6729 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.7067, allocations: 4 kB / 0.6729 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.7069, allocations: 19.98 kB / 0.6729 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7069, allocations: 0 / 0.6729 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.707, allocations: 15.89 kB / 0.6729 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.707, allocations: 4 kB / 0.6729 GB, free: 13.79 MB / 474.7 MB 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.0001261/0.7072, allocations: 121.8 kB / 0.6731 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.7072, allocations: 19.84 kB / 0.6731 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.7076, allocations: 146.3 kB / 0.6732 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7077, allocations: 0 / 0.6732 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7077, allocations: 0 / 0.6732 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.7077, allocations: 4 kB / 0.6732 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.7079, allocations: 209.5 kB / 0.6734 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.708, allocations: 0 / 0.6734 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.7081, allocations: 19.98 kB / 0.6734 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.7081, allocations: 7.953 kB / 0.6734 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.7081, allocations: 0 / 0.6734 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.7081, allocations: 0 / 0.6734 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7081, allocations: 3.938 kB / 0.6734 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.7085, allocations: 231.4 kB / 0.6737 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.7085, allocations: 85.02 kB / 0.6738 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.7086, allocations: 7.938 kB / 0.6738 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.7087, allocations: 12 kB / 0.6738 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.7088, allocations: 7.984 kB / 0.6738 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.7088, allocations: 16.06 kB / 0.6738 GB, free: 12.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.195e-05/0.7089, allocations: 101.1 kB / 0.6739 GB, free: 12.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7089, allocations: 0 / 0.6739 GB, free: 12.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.7091, allocations: 23.91 kB / 0.6739 GB, free: 12.69 MB / 474.7 MB 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.0002087/0.7093, allocations: 99.25 kB / 0.674 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.7096, allocations: 115.9 kB / 0.6741 GB, free: 12.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.7096, allocations: 0 / 0.6741 GB, free: 12.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.7098, allocations: 63.89 kB / 0.6742 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.7099, allocations: 4.703 kB / 0.6742 GB, free: 12.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.7105, allocations: 245.5 kB / 0.6744 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.7109, allocations: 0.7082 MB / 0.6751 GB, free: 11.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.386e-05/0.711, allocations: 15.97 kB / 0.6751 GB, free: 11.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.711, allocations: 11.42 kB / 0.6751 GB, free: 11.38 MB / 474.7 MB Notification: Performance of SimCode: time 3.2e-07/0.711, allocations: 0 / 0.6751 GB, free: 11.38 MB / 474.7 MB Notification: Performance of Templates: time 0.003006/0.714, allocations: 0.5929 MB / 0.6757 GB, free: 10.79 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)