Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5115/0.5115, allocations: 95.62 MB / 110.6 MB, free: 9.379 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001171/0.001171, allocations: 174 kB / 134.2 MB, free: 2.273 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.292/1.292, allocations: 170.7 MB / 328.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001667/0.001666, allocations: 107.3 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 61.53 MB / 0.512 GB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.571, allocations: 94.54 MB / 0.6043 GB, free: 12.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5713, allocations: 77.89 kB / 0.6044 GB, free: 12.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005156/0.5765, allocations: 1.687 MB / 0.606 GB, free: 11.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5765, allocations: 4 kB / 0.606 GB, free: 11.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.5765, allocations: 0 / 0.606 GB, free: 11.2 MB / 410.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.0005234/0.577, allocations: 405.1 kB / 0.6064 GB, free: 10.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5771, allocations: 11.98 kB / 0.6064 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.5772, allocations: 12.66 kB / 0.6064 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.5774, allocations: 198.7 kB / 0.6066 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5774, allocations: 11.06 kB / 0.6066 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.5775, allocations: 7.953 kB / 0.6066 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.5777, allocations: 105.9 kB / 0.6067 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5778, allocations: 0 / 0.6067 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.5778, allocations: 7.438 kB / 0.6067 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5778, allocations: 0 / 0.6067 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.5781, allocations: 102.7 kB / 0.6068 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.5787, allocations: 397.9 kB / 0.6072 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.5789, allocations: 60.61 kB / 0.6073 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.5789, allocations: 7.938 kB / 0.6073 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.579, allocations: 38.5 kB / 0.6073 GB, free: 9.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.579, allocations: 0 / 0.6073 GB, free: 9.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004664/0.5794, allocations: 179.9 kB / 0.6075 GB, free: 9.645 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5795, allocations: 51.41 kB / 0.6075 GB, free: 9.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.5796, allocations: 136.4 kB / 0.6077 GB, free: 9.453 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.5796, allocations: 25.7 kB / 0.6077 GB, free: 9.422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.5797, allocations: 107.5 kB / 0.6078 GB, free: 9.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.5797, allocations: 11.81 kB / 0.6078 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.5797, allocations: 0 / 0.6078 GB, free: 9.312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5799, allocations: 326.7 kB / 0.6081 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.58, allocations: 46.97 kB / 0.6082 GB, free: 8.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-05/0.5801, allocations: 43.34 kB / 0.6082 GB, free: 8.918 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.5802, allocations: 51.41 kB / 0.6083 GB, free: 8.879 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.5802, allocations: 0 / 0.6083 GB, free: 8.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002741/0.5805, allocations: 136.6 kB / 0.6084 GB, free: 8.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.5805, allocations: 4 kB / 0.6084 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5806, allocations: 0 / 0.6084 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.314e-05/0.5806, allocations: 4 kB / 0.6084 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5808, allocations: 23.97 kB / 0.6084 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5808, allocations: 0 / 0.6084 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.5809, allocations: 15.84 kB / 0.6084 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.5809, allocations: 7.984 kB / 0.6084 GB, free: 8.703 MB / 410.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.0001007/0.581, allocations: 129.9 kB / 0.6086 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.581, allocations: 7.906 kB / 0.6086 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.5814, allocations: 156.4 kB / 0.6087 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5814, allocations: 0 / 0.6087 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5814, allocations: 0 / 0.6087 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5814, allocations: 0 / 0.6087 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.5817, allocations: 213.2 kB / 0.6089 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5817, allocations: 3.984 kB / 0.6089 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.5818, allocations: 19.98 kB / 0.6089 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5818, allocations: 0 / 0.6089 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.5818, allocations: 7.984 kB / 0.609 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.5818, allocations: 4 kB / 0.609 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5818, allocations: 3.938 kB / 0.609 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.5822, allocations: 234.6 kB / 0.6092 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.5823, allocations: 100.9 kB / 0.6093 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.5823, allocations: 0 / 0.6093 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5824, allocations: 14.56 kB / 0.6093 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.5825, allocations: 7.984 kB / 0.6093 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.5825, allocations: 7.5 kB / 0.6093 GB, free: 7.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.849e-05/0.5825, allocations: 102.7 kB / 0.6094 GB, free: 7.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5826, allocations: 0 / 0.6094 GB, free: 7.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.5828, allocations: 27.83 kB / 0.6094 GB, free: 7.676 MB / 410.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.0001626/0.583, allocations: 102.9 kB / 0.6095 GB, free: 7.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.5833, allocations: 109.2 kB / 0.6096 GB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5833, allocations: 4 kB / 0.6096 GB, free: 7.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.5834, allocations: 58.47 kB / 0.6097 GB, free: 7.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.5836, allocations: 3.953 kB / 0.6097 GB, free: 7.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.5841, allocations: 259.3 kB / 0.6099 GB, free: 7.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.5844, allocations: 0.7043 MB / 0.6106 GB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.017e-05/0.5845, allocations: 15.97 kB / 0.6106 GB, free: 6.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.5845, allocations: 18.81 kB / 0.6107 GB, free: 6.395 MB / 410.7 MB Notification: Performance of SimCode: time 6.02e-07/0.5845, allocations: 0 / 0.6107 GB, free: 6.395 MB / 410.7 MB Notification: Performance of Templates: time 0.002741/0.5873, allocations: 0.5887 MB / 0.6112 GB, free: 5.82 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)