Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7376/0.7376, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 174.6 kB / 187.2 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009072/0.0009072, allocations: 102 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 265.7 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.6e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4574, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.5811, allocations: 109.3 MB / 0.871 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5814, allocations: 79.83 kB / 0.8711 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004992/0.5864, allocations: 1.757 MB / 0.8728 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5865, allocations: 0 / 0.8728 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.5865, allocations: 4 kB / 0.8728 GB, free: 13.4 MB / 0.5417 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.0004223/0.5869, allocations: 374.3 kB / 0.8732 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.587, allocations: 23.91 kB / 0.8732 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.587, allocations: 7.906 kB / 0.8732 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.5873, allocations: 196.1 kB / 0.8734 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.5873, allocations: 8 kB / 0.8734 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.5873, allocations: 4 kB / 0.8734 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.5875, allocations: 93.64 kB / 0.8735 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5875, allocations: 0 / 0.8735 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.5876, allocations: 0 / 0.8735 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5876, allocations: 0 / 0.8735 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.5877, allocations: 67.92 kB / 0.8736 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.5883, allocations: 388.5 kB / 0.8739 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.263e-05/0.5884, allocations: 54.5 kB / 0.874 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.5885, allocations: 32.98 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.5885, allocations: 7.984 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.5886, allocations: 30.56 kB / 0.8741 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.5886, allocations: 0 / 0.8741 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0002436/0.5888, allocations: 97.53 kB / 0.8741 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5889, allocations: 55.34 kB / 0.8742 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.589, allocations: 118.7 kB / 0.8743 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.589, allocations: 29.7 kB / 0.8743 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.5891, allocations: 108.3 kB / 0.8744 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.5891, allocations: 15.72 kB / 0.8745 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.5891, allocations: 0 / 0.8745 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5892, allocations: 322.8 kB / 0.8748 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.5893, allocations: 23.98 kB / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.5894, allocations: 28.06 kB / 0.8748 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.5894, allocations: 31.97 kB / 0.8749 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5894, allocations: 0 / 0.8749 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001459/0.5896, allocations: 93.58 kB / 0.8749 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5896, allocations: 8 kB / 0.8749 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5896, allocations: 3.938 kB / 0.875 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5896, allocations: 0 / 0.875 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.5898, allocations: 23.92 kB / 0.875 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5898, allocations: 3.953 kB / 0.875 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.5899, allocations: 19.92 kB / 0.875 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.5899, allocations: 8 kB / 0.875 GB, free: 10.95 MB / 0.5417 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 () * 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.999e-05/0.59, allocations: 105 kB / 0.8751 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.59, allocations: 11.89 kB / 0.8751 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.5903, allocations: 118.2 kB / 0.8752 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5903, allocations: 0 / 0.8752 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5903, allocations: 0 / 0.8752 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5903, allocations: 3.953 kB / 0.8752 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.5905, allocations: 197.6 kB / 0.8754 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5905, allocations: 7.922 kB / 0.8754 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.5907, allocations: 23.98 kB / 0.8755 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5907, allocations: 0 / 0.8755 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.5907, allocations: 4 kB / 0.8755 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5907, allocations: 0 / 0.8755 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5907, allocations: 0 / 0.8755 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.5909, allocations: 203.6 kB / 0.8756 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.591, allocations: 81.02 kB / 0.8757 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.591, allocations: 4 kB / 0.8757 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.5911, allocations: 11.98 kB / 0.8757 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.5911, allocations: 11.97 kB / 0.8758 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.5912, allocations: 4 kB / 0.8758 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.71e-05/0.5912, allocations: 109.1 kB / 0.8759 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5912, allocations: 0 / 0.8759 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002121/0.5915, allocations: 27.84 kB / 0.8759 GB, free: 9.953 MB / 0.5417 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 () * 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.0001576/0.5916, allocations: 111.2 kB / 0.876 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.5918, allocations: 67.97 kB / 0.8761 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.5918, allocations: 0 / 0.8761 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.443e-05/0.5919, allocations: 47.92 kB / 0.8761 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.592, allocations: 4 kB / 0.8761 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.5924, allocations: 137.4 kB / 0.8762 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.5927, allocations: 0.7083 MB / 0.8769 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.165e-05/0.5928, allocations: 15.97 kB / 0.8769 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.5928, allocations: 11.44 kB / 0.877 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.5928, allocations: 0 / 0.877 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of Templates: time 0.002591/0.5954, allocations: 0.6071 MB / 0.8775 GB, free: 8.203 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)