Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.354/2.354, allocations: 248.7 MB / 256.2 MB, free: 6.996 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.001381/0.001381, allocations: 187.1 kB / 315.4 MB, free: 3.992 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.075/2.075, allocations: 205.3 MB / 0.5662 GB, free: 0.625 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.001065/0.001065, allocations: 88.36 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.608e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2107, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8606/1.071, allocations: 131.4 MB / 1.012 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.072, allocations: 63.91 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004022/1.076, allocations: 1.161 MB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.392e-06/1.076, allocations: 0 / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.187e-05/1.076, allocations: 4 kB / 1.014 GB, free: 6.273 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004217/1.076, allocations: 368.2 kB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/1.076, allocations: 12.03 kB / 1.014 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/1.076, allocations: 11.86 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/1.076, allocations: 178.9 kB / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/1.077, allocations: 4 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/1.077, allocations: 7.938 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/1.077, allocations: 31.69 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/1.077, allocations: 82.58 kB / 1.014 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.077, allocations: 0 / 1.014 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/1.077, allocations: 0 / 1.014 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.077, allocations: 4 kB / 1.014 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/1.078, allocations: 423.4 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.916e-05/1.078, allocations: 41.16 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/1.078, allocations: 12.34 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/1.078, allocations: 4.062 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.078, allocations: 38.58 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/1.078, allocations: 0 / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001883/1.078, allocations: 45.48 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/1.078, allocations: 81.17 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.078, allocations: 121.9 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.078, allocations: 25.7 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/1.078, allocations: 115.3 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/1.078, allocations: 7.906 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/1.078, allocations: 0 / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.079, allocations: 320.9 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.97e-05/1.079, allocations: 4 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/1.079, allocations: 33.08 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/1.079, allocations: 7.938 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.079, allocations: 0 / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/1.079, allocations: 57.33 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.079, allocations: 6.812 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.079, allocations: 4.75 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.079, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.079, allocations: 8.562 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/1.079, allocations: 4.062 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/1.079, allocations: 11.84 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/1.079, allocations: 3.984 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.921e-05/1.079, allocations: 101.2 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000123/1.079, allocations: 49.84 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/1.079, allocations: 15.78 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/1.079, allocations: 19.78 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.08, allocations: 0 / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.08, allocations: 4.062 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.08, allocations: 0 / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/1.08, allocations: 454.4 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.08, allocations: 2.188 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/1.08, allocations: 7.938 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.08, allocations: 0 / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/1.08, allocations: 0 / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.08, allocations: 0 / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.08, allocations: 8.047 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/1.08, allocations: 83.47 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/1.08, allocations: 88.89 kB / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/1.08, allocations: 0 / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.306e-05/1.08, allocations: 0 / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/1.08, allocations: 8.031 kB / 1.016 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/1.08, allocations: 0 / 1.016 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.307e-05/1.081, allocations: 106.8 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.081, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002646/1.081, allocations: 11.91 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004511/1.081, allocations: 0.6911 MB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001061/1.081, allocations: 15.88 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.081, allocations: 0 / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/1.082, allocations: 11.81 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/1.082, allocations: 3.953 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/1.082, allocations: 150.5 kB / 1.017 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/1.083, allocations: 0.7001 MB / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.415e-05/1.083, allocations: 8.172 kB / 1.018 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/1.083, allocations: 22.62 kB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/1.083, allocations: 0 / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/1.118, allocations: 0.9695 MB / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003212/1.118, allocations: 155.3 kB / 1.019 GB, free: 292 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/3.363, allocations: 1.828 kB / 1.019 GB, free: 292 kB / 0.6355 GB