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.001068/0.001068, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 196.1 kB / 16.64 MB, free: 6.445 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.281/1.281, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.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.675/1.675, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001425/0.001425, allocations: 71.55 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.208, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002656/0.2107, allocations: 1.589 MB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008858/0.2116, allocations: 0.5522 MB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.2117, allocations: 0 / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.2118, allocations: 7.875 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.979e-05/0.2119, allocations: 19.84 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.2121, allocations: 35.91 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2122, allocations: 79.7 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.2124, allocations: 40.2 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.2125, allocations: 39.84 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.2126, allocations: 43.83 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2126, allocations: 11.94 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.407e-05/0.2127, allocations: 16 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.2127, allocations: 19.92 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.2128, allocations: 43.73 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.2129, allocations: 87.64 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2129, allocations: 0 / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.213, allocations: 3.938 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.213, allocations: 0 / 0.7866 GB, free: 10.17 MB / 0.6075 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.0005116/0.2135, allocations: 395.1 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2135, allocations: 12.03 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.2136, allocations: 16.75 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.2137, allocations: 205 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.2138, allocations: 384 / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.2138, allocations: 8.375 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.214, allocations: 110 kB / 0.7874 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.214, allocations: 0 / 0.7874 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2141, allocations: 4 kB / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2141, allocations: 3.984 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.2143, allocations: 95.94 kB / 0.7875 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.2148, allocations: 380.4 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.215, allocations: 58.55 kB / 0.7879 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.2151, allocations: 52.89 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.2151, allocations: 7.984 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.2152, allocations: 34.56 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2152, allocations: 0 / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004715/0.2157, allocations: 161.5 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2157, allocations: 55.41 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2158, allocations: 132.4 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.2158, allocations: 29.7 kB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.2159, allocations: 104 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.2159, allocations: 19.88 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.216, allocations: 21.72 kB / 0.7885 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2161, allocations: 318.8 kB / 0.7888 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2162, allocations: 47.91 kB / 0.7888 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.2163, allocations: 35.97 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.2165, allocations: 88.8 kB / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2165, allocations: 0 / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002495/0.2168, allocations: 121.5 kB / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2168, allocations: 12 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2168, allocations: 3.984 kB / 0.7891 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2168, allocations: 3.984 kB / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.217, allocations: 23.86 kB / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.217, allocations: 0 / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.817e-05/0.2171, allocations: 11.91 kB / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.2171, allocations: 4.422 kB / 0.7891 GB, free: 7.422 MB / 0.6075 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 0.0001011/0.2172, allocations: 120.7 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.2172, allocations: 15.84 kB / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.2176, allocations: 146.3 kB / 0.7894 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2176, allocations: 7.875 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2176, allocations: 4 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2176, allocations: 0 / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.2178, allocations: 205.5 kB / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2178, allocations: 0 / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.2179, allocations: 23.91 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2179, allocations: 4 kB / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.218, allocations: 8 kB / 0.7896 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.218, allocations: 3.938 kB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.218, allocations: 0 / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.2183, allocations: 215.4 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.2183, allocations: 85.02 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.2183, allocations: 4 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2185, allocations: 15.92 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2185, allocations: 4 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2185, allocations: 7.984 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.828e-05/0.2186, allocations: 102.2 kB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2186, allocations: 3.938 kB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002535/0.2189, allocations: 12 kB / 0.79 GB, free: 6.355 MB / 0.6075 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.0001685/0.219, allocations: 103.2 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.2193, allocations: 99.92 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2193, allocations: 0 / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2195, allocations: 55.91 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.2197, allocations: 4 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.2202, allocations: 231 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2204, allocations: 0.711 MB / 0.7912 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.2205, allocations: 12.36 kB / 0.7912 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.2206, allocations: 11.44 kB / 0.7912 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2206, allocations: 0 / 0.7912 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.002865/0.2235, allocations: 0.7138 MB / 0.7919 GB, free: 4.371 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)