Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 102.7 kB / 16.35 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 194 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2155, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002738/0.2183, allocations: 1.594 MB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009249/0.2193, allocations: 0.5434 MB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.2193, allocations: 0 / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.484e-05/0.2194, allocations: 15.86 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.2195, allocations: 19.8 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.2197, allocations: 31.95 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2198, allocations: 83.69 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.22, allocations: 48.09 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.148e-05/0.2201, allocations: 27.92 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.2201, allocations: 55.75 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.2202, allocations: 8 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.2202, allocations: 8 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.2203, allocations: 23.92 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.2203, allocations: 35.8 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2205, allocations: 95.58 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2205, allocations: 0 / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2205, allocations: 3.938 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2205, allocations: 0 / 0.7873 GB, free: 0.5508 MB / 0.6544 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.0004777/0.221, allocations: 403.1 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.221, allocations: 8.031 kB / 0.7877 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.2211, allocations: 12.75 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3559/0.577, allocations: 187.8 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.577, allocations: 6.031 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.577, allocations: 7.031 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.5773, allocations: 104.7 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5774, allocations: 2.562 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.5774, allocations: 3.094 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5774, allocations: 4.312 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.5776, allocations: 100.2 kB / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.5782, allocations: 381.9 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.5783, allocations: 54.94 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.5784, allocations: 49.78 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.5785, allocations: 6.188 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.5785, allocations: 34.56 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.5785, allocations: 4.375 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0004272/0.5789, allocations: 171.5 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.579, allocations: 54.03 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/0.5791, allocations: 129 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.5791, allocations: 25.7 kB / 0.789 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.5791, allocations: 108.4 kB / 0.7891 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.5791, allocations: 22.42 kB / 0.7891 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.5792, allocations: 22.09 kB / 0.7891 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.5792, allocations: 322.5 kB / 0.7894 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.579e-05/0.5793, allocations: 40.14 kB / 0.7895 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.649e-05/0.5794, allocations: 40.14 kB / 0.7895 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.5796, allocations: 91.7 kB / 0.7896 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5796, allocations: 0 / 0.7896 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002273/0.5799, allocations: 128.8 kB / 0.7897 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5799, allocations: 5.812 kB / 0.7897 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5799, allocations: 0 / 0.7897 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5799, allocations: 1.219 kB / 0.7897 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5801, allocations: 20.83 kB / 0.7897 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5801, allocations: 0.5938 kB / 0.7897 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.5802, allocations: 18.28 kB / 0.7897 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.5802, allocations: 4.312 kB / 0.7898 GB, free: 47.71 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/0.5803, allocations: 122.1 kB / 0.7899 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.5803, allocations: 8.859 kB / 0.7899 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.5806, allocations: 149.1 kB / 0.79 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5806, allocations: 1.5 kB / 0.79 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5806, allocations: 0 / 0.79 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5806, allocations: 2.875 kB / 0.79 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.5808, allocations: 210.3 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5808, allocations: 0.5625 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.5809, allocations: 18.77 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5809, allocations: 4.688 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5809, allocations: 0 / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5809, allocations: 1.844 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.581, allocations: 4 kB / 0.7903 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.5812, allocations: 226.1 kB / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.5812, allocations: 84.56 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.5813, allocations: 2.75 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.5814, allocations: 6.781 kB / 0.7906 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.5814, allocations: 9.281 kB / 0.7906 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5814, allocations: 5.391 kB / 0.7906 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.5815, allocations: 109.8 kB / 0.7907 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5815, allocations: 0 / 0.7907 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002519/0.5818, allocations: 24.91 kB / 0.7907 GB, free: 47.05 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.5819, allocations: 100.6 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.5822, allocations: 97.41 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5822, allocations: 2.812 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.5823, allocations: 60.83 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.5826, allocations: 3.344 kB / 0.791 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.583, allocations: 205.2 kB / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.5831, allocations: 0.7058 MB / 0.7918 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.5833, allocations: 17.8 kB / 0.7919 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.5833, allocations: 10.75 kB / 0.7919 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.5833, allocations: 5.047 kB / 0.7919 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.002945/0.5863, allocations: 0.7055 MB / 0.7926 GB, free: 46.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)