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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.545/1.545, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 192.4 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000879/0.0008789, allocations: 98.27 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009642/0.0009643, allocations: 55.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2078, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002818/0.2106, allocations: 1.656 MB / 0.9838 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.2116, allocations: 0.5473 MB / 0.9844 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.2117, allocations: 0 / 0.9844 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.2119, allocations: 11.92 kB / 0.9844 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.024e-05/0.2119, allocations: 15.8 kB / 0.9844 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.2121, allocations: 31.91 kB / 0.9844 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2123, allocations: 75.78 kB / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.2124, allocations: 40.2 kB / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.688e-05/0.2125, allocations: 35.84 kB / 0.9846 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.2126, allocations: 35.84 kB / 0.9846 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.2127, allocations: 4 kB / 0.9846 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.2127, allocations: 12 kB / 0.9846 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.2128, allocations: 31.91 kB / 0.9846 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.2128, allocations: 35.73 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.213, allocations: 91.92 kB / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.213, allocations: 0 / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.213, allocations: 0 / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.213, allocations: 0 / 0.9848 GB, free: 7.77 MB / 0.7136 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.0005186/0.2135, allocations: 399.1 kB / 0.9852 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2136, allocations: 12.03 kB / 0.9852 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.2136, allocations: 12.84 kB / 0.9852 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.2138, allocations: 200 kB / 0.9854 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.2138, allocations: 4.375 kB / 0.9854 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.2138, allocations: 8.375 kB / 0.9854 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.2141, allocations: 109.9 kB / 0.9855 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2141, allocations: 0 / 0.9855 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2141, allocations: 4 kB / 0.9855 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2141, allocations: 0 / 0.9855 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.2144, allocations: 99.88 kB / 0.9856 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.2149, allocations: 388.4 kB / 0.986 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.2151, allocations: 62.48 kB / 0.986 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.2152, allocations: 48.95 kB / 0.9861 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.2153, allocations: 4 kB / 0.9861 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.2153, allocations: 30.56 kB / 0.9861 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2153, allocations: 0 / 0.9861 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004216/0.2157, allocations: 169.5 kB / 0.9863 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.2158, allocations: 55.39 kB / 0.9863 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.2159, allocations: 131.8 kB / 0.9864 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2159, allocations: 29.7 kB / 0.9865 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.216, allocations: 104 kB / 0.9866 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.216, allocations: 23.78 kB / 0.9866 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.216, allocations: 25.7 kB / 0.9866 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.2161, allocations: 314.8 kB / 0.9869 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2163, allocations: 39.97 kB / 0.9869 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.2164, allocations: 39.97 kB / 0.987 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.2166, allocations: 89.17 kB / 0.9871 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2166, allocations: 4 kB / 0.9871 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000248/0.2168, allocations: 133.5 kB / 0.9872 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2168, allocations: 4 kB / 0.9872 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2169, allocations: 0 / 0.9872 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2169, allocations: 0 / 0.9872 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.217, allocations: 23.86 kB / 0.9872 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.217, allocations: 0 / 0.9872 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.2171, allocations: 11.98 kB / 0.9872 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.2171, allocations: 0 / 0.9872 GB, free: 5.02 MB / 0.7136 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 8.139e-05/0.2172, allocations: 125.8 kB / 0.9874 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.2172, allocations: 11.89 kB / 0.9874 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.2175, allocations: 138.3 kB / 0.9875 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2176, allocations: 3.938 kB / 0.9875 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2176, allocations: 4 kB / 0.9875 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2176, allocations: 3.938 kB / 0.9875 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.2178, allocations: 209.5 kB / 0.9877 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2178, allocations: 0 / 0.9877 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.2179, allocations: 19.97 kB / 0.9877 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2179, allocations: 3.938 kB / 0.9877 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2179, allocations: 8 kB / 0.9877 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2179, allocations: 3.938 kB / 0.9877 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2179, allocations: 0 / 0.9877 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.2185, allocations: 0.8253 MB / 0.9886 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.2186, allocations: 85.2 kB / 0.9886 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2186, allocations: 7.984 kB / 0.9886 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.2187, allocations: 7.938 kB / 0.9886 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.2187, allocations: 7.984 kB / 0.9887 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.2188, allocations: 8 kB / 0.9887 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.2188, allocations: 103.2 kB / 0.9888 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2188, allocations: 0 / 0.9888 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003107/0.2191, allocations: 20 kB / 0.9888 GB, free: 3.293 MB / 0.7136 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.0001273/0.2193, allocations: 95.25 kB / 0.9889 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.2195, allocations: 95.88 kB / 0.989 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2195, allocations: 4 kB / 0.989 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.2197, allocations: 59.95 kB / 0.989 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.2199, allocations: 10.12 kB / 0.989 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.2203, allocations: 367.6 kB / 0.9894 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2206, allocations: 0.7082 MB / 0.9901 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.2207, allocations: 15.97 kB / 0.9901 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.2207, allocations: 11.44 kB / 0.9901 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2208, allocations: 0 / 0.9901 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of Templates: time 0.002411/0.2232, allocations: 0.6356 MB / 0.9907 GB, free: 1.234 MB / 0.7136 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)