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.001102/0.001102, allocations: 106.4 kB / 15.99 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.001168/0.001168, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.438/1.438, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.725/1.725, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001484/0.001484, allocations: 67.7 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2372, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00281/0.24, allocations: 1.652 MB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.241, allocations: 0.5394 MB / 0.7857 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.241, allocations: 0 / 0.7857 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.2412, allocations: 11.92 kB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.2412, allocations: 15.86 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.2415, allocations: 31.97 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2416, allocations: 83.72 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2417, allocations: 40.2 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.2418, allocations: 35.91 kB / 0.7859 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.2419, allocations: 39.78 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2419, allocations: 4 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.242, allocations: 16 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.242, allocations: 23.91 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.2421, allocations: 35.8 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2422, allocations: 68.06 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2422, allocations: 0 / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.667e-06/0.2422, allocations: 0 / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2423, allocations: 3.938 kB / 0.786 GB, free: 11.28 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.0005819/0.2428, allocations: 399.1 kB / 0.7864 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2429, allocations: 8.031 kB / 0.7864 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.2429, allocations: 12.75 kB / 0.7864 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.2431, allocations: 193 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2432, allocations: 12.38 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2432, allocations: 4.375 kB / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.2435, allocations: 113.9 kB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2435, allocations: 0 / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2435, allocations: 0 / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2435, allocations: 4 kB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.2437, allocations: 95.88 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.2444, allocations: 388.4 kB / 0.7872 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.2445, allocations: 62.55 kB / 0.7873 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2447, allocations: 52.95 kB / 0.7873 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.2447, allocations: 3.984 kB / 0.7873 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2448, allocations: 34.56 kB / 0.7874 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2448, allocations: 0 / 0.7874 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004547/0.2452, allocations: 165.4 kB / 0.7875 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.2453, allocations: 59.34 kB / 0.7876 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2454, allocations: 140.4 kB / 0.7877 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.2454, allocations: 25.7 kB / 0.7877 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.2455, allocations: 100 kB / 0.7878 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.2456, allocations: 19.88 kB / 0.7879 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.2456, allocations: 21.7 kB / 0.7879 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2457, allocations: 322.8 kB / 0.7882 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.2459, allocations: 39.97 kB / 0.7882 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.855e-05/0.246, allocations: 39.97 kB / 0.7883 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.2462, allocations: 89.17 kB / 0.7883 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2462, allocations: 0 / 0.7883 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002783/0.2465, allocations: 133.5 kB / 0.7885 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2465, allocations: 8 kB / 0.7885 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2465, allocations: 0 / 0.7885 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2465, allocations: 4 kB / 0.7885 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2467, allocations: 19.92 kB / 0.7885 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2467, allocations: 3.984 kB / 0.7885 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.2468, allocations: 11.89 kB / 0.7885 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2468, allocations: 4 kB / 0.7885 GB, free: 8.523 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 9.61e-05/0.2469, allocations: 117.8 kB / 0.7886 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.2469, allocations: 15.89 kB / 0.7886 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.2473, allocations: 142.3 kB / 0.7888 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2473, allocations: 3.938 kB / 0.7888 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2473, allocations: 0 / 0.7888 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2473, allocations: 0 / 0.7888 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2475, allocations: 205.6 kB / 0.789 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2475, allocations: 0 / 0.789 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2477, allocations: 27.97 kB / 0.789 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2477, allocations: 0 / 0.789 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2477, allocations: 0 / 0.789 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2477, allocations: 3.938 kB / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2477, allocations: 0 / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.248, allocations: 227.3 kB / 0.7892 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.2481, allocations: 85.2 kB / 0.7893 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.2481, allocations: 4 kB / 0.7893 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2482, allocations: 15.92 kB / 0.7893 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.2483, allocations: 7.922 kB / 0.7893 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.2483, allocations: 8 kB / 0.7893 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.155e-05/0.2484, allocations: 97.77 kB / 0.7894 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2484, allocations: 4 kB / 0.7894 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002807/0.2487, allocations: 16 kB / 0.7895 GB, free: 7.461 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.0001688/0.2488, allocations: 107.2 kB / 0.7896 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.2492, allocations: 107.9 kB / 0.7897 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2492, allocations: 0 / 0.7897 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.2493, allocations: 47.97 kB / 0.7897 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.2495, allocations: 8 kB / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.25, allocations: 280.7 kB / 0.79 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.2504, allocations: 0.7079 MB / 0.7907 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.2504, allocations: 15.44 kB / 0.7907 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2504, allocations: 4 kB / 0.7907 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of Templates: time 0.002783/0.2532, allocations: 1.101 MB / 0.7918 GB, free: 5.031 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)