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.001039/0.001039, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001021/0.001022, allocations: 198.5 kB / 16.14 MB, free: 6.703 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.462/1.462, allocations: 205.1 MB / 222 MB, free: 5 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.684/1.684, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001339/0.001339, allocations: 73.61 kB / 0.6708 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2201, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002962/0.2231, allocations: 1.655 MB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.224, allocations: 0.5434 MB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.2241, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2242, allocations: 7.938 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.2243, allocations: 11.86 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.2245, allocations: 31.97 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.678e-05/0.2246, allocations: 79.7 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2247, allocations: 40.2 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.891e-05/0.2248, allocations: 35.86 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.398e-05/0.2249, allocations: 43.83 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2249, allocations: 7.938 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.225, allocations: 11.98 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.2251, allocations: 23.92 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.2251, allocations: 31.75 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2253, allocations: 83.92 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2253, allocations: 4 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2253, allocations: 0 / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2253, allocations: 0 / 0.7852 GB, free: 11.41 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.0005436/0.2258, allocations: 403.1 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2259, allocations: 8.031 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.2259, allocations: 12.84 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2261, allocations: 192.2 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2261, allocations: 4.375 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.2261, allocations: 8.375 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.2264, allocations: 112 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2264, allocations: 0 / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.2264, allocations: 12 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2265, allocations: 0 / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.2267, allocations: 91.94 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.2272, allocations: 384.4 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2274, allocations: 66.55 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2275, allocations: 44.95 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.2276, allocations: 7.984 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2276, allocations: 34.56 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2276, allocations: 4 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004448/0.2281, allocations: 169.4 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2281, allocations: 55.41 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.2282, allocations: 137.7 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2282, allocations: 25.7 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.2283, allocations: 100 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.2283, allocations: 27.8 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.2284, allocations: 21.7 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2285, allocations: 318.8 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.2286, allocations: 36.22 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.399e-05/0.2287, allocations: 43.97 kB / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2289, allocations: 96.73 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2289, allocations: 0 / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002701/0.2292, allocations: 125.5 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2292, allocations: 8 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2292, allocations: 0 / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2293, allocations: 0 / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2294, allocations: 19.92 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2294, allocations: 0 / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.2295, allocations: 11.98 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.2295, allocations: 4 kB / 0.7877 GB, free: 8.656 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 7.864e-05/0.2296, allocations: 121.8 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.2296, allocations: 7.906 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.23, allocations: 142.3 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.23, allocations: 3.938 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.23, allocations: 4 kB / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.23, allocations: 0 / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.2302, allocations: 213.5 kB / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2302, allocations: 0 / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.2303, allocations: 20.23 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2303, allocations: 0 / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2303, allocations: 4 kB / 0.7882 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2303, allocations: 3.938 kB / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2304, allocations: 4 kB / 0.7882 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.2307, allocations: 223.3 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.2307, allocations: 81.02 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.2307, allocations: 8 kB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.2308, allocations: 11.92 kB / 0.7885 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.2309, allocations: 7.984 kB / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.2309, allocations: 3.938 kB / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.231, allocations: 109.6 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.231, allocations: 0 / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002372/0.2312, allocations: 15.91 kB / 0.7886 GB, free: 7.59 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.0001365/0.2314, allocations: 115.2 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.2316, allocations: 95.88 kB / 0.7888 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2316, allocations: 0 / 0.7888 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2318, allocations: 55.97 kB / 0.7889 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.232, allocations: 3.938 kB / 0.7889 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.2324, allocations: 252.8 kB / 0.7891 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.2327, allocations: 0.7043 MB / 0.7898 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.2329, allocations: 15.97 kB / 0.7898 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.2329, allocations: 11.42 kB / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2329, allocations: 4 kB / 0.7898 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of Templates: time 0.002803/0.2357, allocations: 0.6267 MB / 0.7904 GB, free: 5.664 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)