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.8446/0.8446, allocations: 143.4 MB / 158.3 MB, free: 5.672 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 181.1 kB / 191.5 MB, free: 5.66 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.427/1.427, allocations: 223.2 MB / 447.7 MB, free: 4.844 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.0009738/0.0009739, allocations: 104.2 kB / 0.5188 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 259 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004565, allocations: 18.42 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.3622, allocations: 109.4 MB / 0.8806 GB, free: 328 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.3625, allocations: 81.98 kB / 0.8806 GB, free: 248 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4334/0.7959, allocations: 1.733 MB / 0.8823 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.894e-06/0.796, allocations: 0 / 0.8823 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.796, allocations: 5.25 kB / 0.8823 GB, free: 109.3 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.0004318/0.7964, allocations: 401.7 kB / 0.8827 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.7965, allocations: 8.844 kB / 0.8827 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.7965, allocations: 13.66 kB / 0.8827 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.7967, allocations: 201.4 kB / 0.8829 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.7968, allocations: 6.281 kB / 0.8829 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.7968, allocations: 9.031 kB / 0.883 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.7971, allocations: 114.2 kB / 0.8831 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.7971, allocations: 0 / 0.8831 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.7971, allocations: 4.406 kB / 0.8831 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.7971, allocations: 4 kB / 0.8831 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.7974, allocations: 97.03 kB / 0.8832 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.7979, allocations: 387.5 kB / 0.8835 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.7981, allocations: 64.45 kB / 0.8836 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-05/0.7982, allocations: 8.703 kB / 0.8836 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.7982, allocations: 30.56 kB / 0.8836 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.7982, allocations: 0 / 0.8836 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0004862/0.7987, allocations: 186.7 kB / 0.8838 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.7987, allocations: 51.41 kB / 0.8839 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.7988, allocations: 120.1 kB / 0.884 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.7989, allocations: 35.89 kB / 0.884 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.7989, allocations: 106.2 kB / 0.8841 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.799, allocations: 29.91 kB / 0.8841 GB, free: 108 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.799, allocations: 0 / 0.8841 GB, free: 108 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.7991, allocations: 319.7 kB / 0.8844 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.7992, allocations: 41.95 kB / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.7993, allocations: 48.11 kB / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.7994, allocations: 46.14 kB / 0.8846 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7994, allocations: 0 / 0.8846 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002489/0.7997, allocations: 136.8 kB / 0.8847 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7997, allocations: 5.312 kB / 0.8847 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7997, allocations: 0 / 0.8847 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.7997, allocations: 0 / 0.8847 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.7999, allocations: 28.33 kB / 0.8847 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.7999, allocations: 3.953 kB / 0.8847 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.212e-05/0.8, allocations: 15.27 kB / 0.8848 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.8, allocations: 4 kB / 0.8848 GB, free: 107.6 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 () * 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.57e-05/0.8001, allocations: 118.5 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.8001, allocations: 6.656 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.8005, allocations: 159.1 kB / 0.885 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8005, allocations: 0 / 0.885 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8005, allocations: 2.594 kB / 0.885 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8005, allocations: 7.234 kB / 0.885 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.8007, allocations: 206 kB / 0.8852 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8007, allocations: 0.875 kB / 0.8852 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.8008, allocations: 25.3 kB / 0.8853 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8008, allocations: 4 kB / 0.8853 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.8008, allocations: 0 / 0.8853 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.8008, allocations: 0 / 0.8853 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8008, allocations: 2.719 kB / 0.8853 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.8011, allocations: 237.9 kB / 0.8855 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.8012, allocations: 87.45 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.8012, allocations: 0.875 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.8013, allocations: 11.19 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.8013, allocations: 8.844 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.8014, allocations: 5.594 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.8014, allocations: 103.8 kB / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8014, allocations: 6.562 kB / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000218/0.8017, allocations: 17.91 kB / 0.8857 GB, free: 106.9 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 () * 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.0001476/0.8018, allocations: 101.2 kB / 0.8858 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.8021, allocations: 116.5 kB / 0.8859 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8021, allocations: 0 / 0.8859 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.8022, allocations: 60.12 kB / 0.886 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.8024, allocations: 10.52 kB / 0.886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.8029, allocations: 236.3 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.8031, allocations: 0.706 MB / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.906e-05/0.8031, allocations: 19.62 kB / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.8032, allocations: 12.94 kB / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of SimCode: time 3.4e-07/0.8032, allocations: 0 / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of Templates: time 0.002939/0.8061, allocations: 0.5974 MB / 0.8875 GB, free: 105.9 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)