Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009368/0.0009365, allocations: 179.3 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000754/0.0007541, allocations: 99.72 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003579, allocations: 10.47 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2364, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001984/0.2385, allocations: 1.301 MB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.2395, allocations: 0.5239 MB / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.2396, allocations: 0 / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.2397, allocations: 3.938 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.2398, allocations: 23.84 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.24, allocations: 31.91 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.2402, allocations: 71.77 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.2404, allocations: 32.22 kB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2405, allocations: 27.8 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.2406, allocations: 35.83 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.2406, allocations: 4 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.896e-05/0.2407, allocations: 4 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.2407, allocations: 15.92 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.2408, allocations: 37.64 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2409, allocations: 55.89 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2409, allocations: 0 / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2409, allocations: 0 / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2409, allocations: 4 kB / 0.9029 GB, free: 61.68 MB / 0.6042 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.0005439/0.2415, allocations: 395.2 kB / 0.9033 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2415, allocations: 11.97 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.2416, allocations: 11.81 kB / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2418, allocations: 190.9 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.2418, allocations: 0 / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2418, allocations: 15.98 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2421, allocations: 115.6 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2421, allocations: 0 / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2422, allocations: 4 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2422, allocations: 7.984 kB / 0.9037 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.2424, allocations: 103.9 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.243, allocations: 388.5 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.2431, allocations: 62.55 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2433, allocations: 60.95 kB / 0.9042 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.2433, allocations: 7.938 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2434, allocations: 34.56 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2434, allocations: 0 / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004575/0.2438, allocations: 185.5 kB / 0.9045 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2439, allocations: 55.41 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.244, allocations: 126 kB / 0.9046 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.244, allocations: 25.7 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.244, allocations: 112.3 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.2441, allocations: 23.73 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.2441, allocations: 0 / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.2441, allocations: 318.8 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.2443, allocations: 43.97 kB / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.781e-05/0.2444, allocations: 47.97 kB / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.2445, allocations: 47.97 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2445, allocations: 0 / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002568/0.2447, allocations: 141.5 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2448, allocations: 14.61 kB / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2448, allocations: 0 / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2448, allocations: 3.938 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.245, allocations: 20.42 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.245, allocations: 3.938 kB / 0.9054 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.2451, allocations: 23.89 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.2451, allocations: 4 kB / 0.9054 GB, free: 58.91 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.799e-05/0.2452, allocations: 117.8 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.2452, allocations: 11.91 kB / 0.9056 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.2455, allocations: 162.2 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2456, allocations: 4 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2456, allocations: 0 / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2456, allocations: 0 / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2457, allocations: 205.6 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2458, allocations: 0 / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-05/0.2459, allocations: 23.98 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2459, allocations: 0 / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2459, allocations: 0 / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2459, allocations: 3.953 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2459, allocations: 4 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.2462, allocations: 239.3 kB / 0.9062 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.2463, allocations: 81.02 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.2463, allocations: 3.984 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.2464, allocations: 8 kB / 0.9063 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.2464, allocations: 15.94 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2465, allocations: 4 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.2465, allocations: 103.2 kB / 0.9064 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2465, allocations: 0 / 0.9064 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002199/0.2467, allocations: 23.84 kB / 0.9064 GB, free: 57.82 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001452/0.2469, allocations: 103.2 kB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.2472, allocations: 111.9 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2472, allocations: 0 / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.2473, allocations: 56.16 kB / 0.9067 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2475, allocations: 12.5 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.248, allocations: 270.8 kB / 0.9069 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.2481, allocations: 0.6965 MB / 0.9076 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.2482, allocations: 15.42 kB / 0.9076 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.2482, allocations: 4 kB / 0.9076 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.002659/0.2508, allocations: 1.101 MB / 0.9087 GB, free: 55.4 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)