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.001198/0.001198, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001221/0.001221, allocations: 184 kB / 17.22 MB, free: 5.934 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.225/1.225, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.622/1.622, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001382/0.001382, allocations: 71.89 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1999, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003036/0.203, allocations: 1.586 MB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000932/0.2039, allocations: 0.5473 MB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.204, allocations: 3.938 kB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2041, allocations: 11.86 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.2042, allocations: 15.86 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.2044, allocations: 39.89 kB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2046, allocations: 83.7 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.2047, allocations: 44.14 kB / 0.7863 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.2048, allocations: 39.86 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.408e-05/0.2049, allocations: 39.83 kB / 0.7864 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.205, allocations: 8 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.2051, allocations: 15.98 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.2051, allocations: 23.92 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.2052, allocations: 39.73 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.2053, allocations: 91.86 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2053, allocations: 0 / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2054, allocations: 0 / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2054, allocations: 0 / 0.7866 GB, free: 1.203 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.0005219/0.2059, allocations: 407.1 kB / 0.787 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2059, allocations: 8.031 kB / 0.787 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.206, allocations: 12.75 kB / 0.787 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.2062, allocations: 192.2 kB / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2062, allocations: 384 / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.2062, allocations: 12.38 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.2064, allocations: 109.9 kB / 0.7873 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2065, allocations: 0 / 0.7873 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2065, allocations: 11.94 kB / 0.7873 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2065, allocations: 4 kB / 0.7873 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.2067, allocations: 98.39 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3023/0.509, allocations: 372.7 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.5092, allocations: 60.75 kB / 0.7878 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.5093, allocations: 53.92 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.5093, allocations: 6.391 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.5094, allocations: 30.56 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.5094, allocations: 0 / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003883/0.5098, allocations: 167.9 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.5098, allocations: 52.91 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.5099, allocations: 134.3 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.5099, allocations: 25.7 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.5099, allocations: 104.4 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.51, allocations: 21.33 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.51, allocations: 22.5 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.51, allocations: 320.3 kB / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.5101, allocations: 37.28 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.5102, allocations: 40.41 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.5104, allocations: 90.27 kB / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5104, allocations: 0.625 kB / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002049/0.5106, allocations: 131.6 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5106, allocations: 8.281 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5106, allocations: 0.5 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5107, allocations: 3.375 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5108, allocations: 18.88 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.5108, allocations: 0 / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.5109, allocations: 16 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.5109, allocations: 3.156 kB / 0.7891 GB, free: 47.87 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 5.342e-05/0.5109, allocations: 125.3 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.511, allocations: 13.81 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.5112, allocations: 146.7 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5113, allocations: 0 / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5113, allocations: 3.5 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5113, allocations: 1.719 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.5114, allocations: 204.3 kB / 0.7895 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5114, allocations: 0.875 kB / 0.7895 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.044e-05/0.5115, allocations: 23.25 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5115, allocations: 0.9688 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.5116, allocations: 0 / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5116, allocations: 2.625 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5116, allocations: 1.625 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.5118, allocations: 229.4 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.5118, allocations: 89.69 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.5118, allocations: 1.969 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.5119, allocations: 8.719 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.512, allocations: 9.656 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.512, allocations: 2.625 kB / 0.7899 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.512, allocations: 99.83 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.512, allocations: 0.5 kB / 0.79 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000223/0.5123, allocations: 22.34 kB / 0.79 GB, free: 47.21 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 9.771e-05/0.5124, allocations: 101.8 kB / 0.7901 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.5126, allocations: 96.83 kB / 0.7902 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5126, allocations: 5.031 kB / 0.7902 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.5127, allocations: 53.59 kB / 0.7902 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.5129, allocations: 9.078 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.5133, allocations: 211.7 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.5134, allocations: 0.6985 MB / 0.7911 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.5135, allocations: 19.62 kB / 0.7912 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.5135, allocations: 16.83 kB / 0.7912 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5135, allocations: 2.125 kB / 0.7912 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.002315/0.5159, allocations: 0.7122 MB / 0.7919 GB, free: 46.29 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)