Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.366/2.366, allocations: 251 MB / 265.9 MB, free: 11.71 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.001554/0.001554, allocations: 174.8 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.402/2.402, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001271/0.00127, allocations: 99.97 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006532, allocations: 16.34 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2321, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.4655, allocations: 132.3 MB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.4659, allocations: 79.94 kB / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008034/0.474, allocations: 1.706 MB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.474, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.147e-05/0.4741, allocations: 4 kB / 1.03 GB, free: 11.15 MB / 0.6823 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.0007042/0.4748, allocations: 408.7 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.4749, allocations: 8.031 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.4749, allocations: 38.56 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.475, allocations: 15.77 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.4753, allocations: 196.4 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4753, allocations: 8 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.4753, allocations: 8 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.4757, allocations: 113.5 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4758, allocations: 4 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.4758, allocations: 0 / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4758, allocations: 0 / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.4763, allocations: 107.9 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/0.4772, allocations: 384.6 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.4775, allocations: 66.5 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.157e-05/0.4775, allocations: 0 / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4776, allocations: 42.56 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.4776, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0008073/0.4784, allocations: 181.6 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.4785, allocations: 51.41 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4787, allocations: 118.7 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.4787, allocations: 29.7 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.4788, allocations: 100.2 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.4789, allocations: 31.77 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.4789, allocations: 0 / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.479, allocations: 318.8 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.4792, allocations: 43.97 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.4795, allocations: 39.97 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.4797, allocations: 55.91 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4797, allocations: 0 / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005228/0.4802, allocations: 145.4 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.4803, allocations: 8 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.4803, allocations: 7.922 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4803, allocations: 0 / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.4806, allocations: 19.98 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4806, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.4807, allocations: 12.84 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.4808, allocations: 4 kB / 1.032 GB, free: 8.418 MB / 0.6823 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 0.0001435/0.4809, allocations: 125.8 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.481, allocations: 11.86 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006308/0.4816, allocations: 154.3 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4817, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4817, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4817, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.482, allocations: 205.6 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.482, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.4822, allocations: 20.48 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.4822, allocations: 4 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4823, allocations: 7.938 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4823, allocations: 4 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4823, allocations: 4 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.4829, allocations: 231.3 kB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.483, allocations: 92.95 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.483, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.4832, allocations: 15.94 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.4833, allocations: 4 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.4833, allocations: 11.98 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.15e-05/0.4834, allocations: 97.3 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4834, allocations: 0 / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000346/0.4838, allocations: 19.91 kB / 1.033 GB, free: 7.336 MB / 0.6823 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.0009872/0.4848, allocations: 0.7787 MB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005203/0.4853, allocations: 111.9 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4853, allocations: 0 / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.4856, allocations: 63.91 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4858, allocations: 7.953 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4878, allocations: 0.7186 MB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4882, allocations: 0.7082 MB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000135/0.4883, allocations: 15.97 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.4884, allocations: 27.42 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/0.4884, allocations: 3.938 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.513, allocations: 1.663 MB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003504/0.5134, allocations: 188.8 kB / 1.037 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.877, allocations: 0 / 1.037 GB, free: 3.004 MB / 0.6823 GB