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.281/2.281, allocations: 248.7 MB / 256.2 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 180.5 kB / 315.4 MB, free: 4 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.117/2.117, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 89.48 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.471e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2221, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9007/1.123, allocations: 132.5 MB / 1.013 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.123, allocations: 74.27 kB / 1.014 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007556/1.131, allocations: 1.69 MB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.131, allocations: 0 / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.408e-05/1.131, allocations: 4 kB / 1.015 GB, free: 5.09 MB / 0.6355 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.0005937/1.131, allocations: 384.9 kB / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/1.131, allocations: 12.03 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/1.132, allocations: 18.36 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/1.132, allocations: 203.1 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/1.132, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/1.132, allocations: 4 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002301/1.132, allocations: 60.97 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/1.132, allocations: 83.66 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.132, allocations: 4 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.132, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.132, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/1.133, allocations: 358.4 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/1.133, allocations: 44.64 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/1.134, allocations: 39.16 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.436e-05/1.134, allocations: 11.94 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/1.134, allocations: 30.56 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/1.134, allocations: 0 / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003673/1.134, allocations: 97.31 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/1.134, allocations: 51.41 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/1.134, allocations: 114.8 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/1.134, allocations: 25.7 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/1.134, allocations: 106.3 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/1.134, allocations: 18.89 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/1.134, allocations: 3.938 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.135, allocations: 322.3 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/1.135, allocations: 27.73 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/1.135, allocations: 18.5 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/1.135, allocations: 26.8 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.135, allocations: 0 / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000263/1.135, allocations: 95.31 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.135, allocations: 8 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.135, allocations: 8.016 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.135, allocations: 3.938 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/1.135, allocations: 23.17 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.136, allocations: 7.984 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/1.136, allocations: 14.56 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/1.136, allocations: 0 / 1.017 GB, free: 2.898 MB / 0.6355 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 () * 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 9.666e-05/1.136, allocations: 116.9 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002643/1.136, allocations: 94.2 kB / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/1.136, allocations: 11.86 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/1.137, allocations: 115.2 kB / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.137, allocations: 0 / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.137, allocations: 0 / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/1.137, allocations: 0 / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/1.137, allocations: 180.8 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/1.137, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.137, allocations: 23.98 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/1.137, allocations: 7.984 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/1.137, allocations: 7.938 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.137, allocations: 0 / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.137, allocations: 0 / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/1.137, allocations: 188.1 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/1.138, allocations: 85 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/1.138, allocations: 8 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/1.138, allocations: 11.95 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/1.138, allocations: 7.984 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/1.138, allocations: 7.984 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.598e-05/1.138, allocations: 97.59 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.138, allocations: 3.938 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003276/1.138, allocations: 12 kB / 1.018 GB, free: 1.934 MB / 0.6355 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 () * 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.0007028/1.139, allocations: 0.7353 MB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000227/1.139, allocations: 70.97 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.139, allocations: 0 / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/1.139, allocations: 42.05 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/1.14, allocations: 3.953 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/1.14, allocations: 192.5 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/1.141, allocations: 0.7002 MB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001188/1.141, allocations: 15.97 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/1.141, allocations: 25.44 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/1.141, allocations: 0 / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/1.177, allocations: 1.364 MB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/1.177, allocations: 146.4 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.651, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.6511 GB