Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.167/2.167, allocations: 251 MB / 265.9 MB, free: 11.68 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.001507/0.001506, allocations: 180.5 kB / 325.5 MB, free: 2.898 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.322/2.322, allocations: 205.4 MB / 0.5764 GB, free: 21.12 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.001242/0.001241, allocations: 93.78 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005033, allocations: 11.81 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.221/0.447, allocations: 131.6 MB / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/0.4474, allocations: 83.94 kB / 1.027 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007867/0.4553, allocations: 1.776 MB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4554, allocations: 0 / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.4554, allocations: 0 / 1.029 GB, free: 12.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004058/0.4558, allocations: 359.1 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4559, allocations: 16.03 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.4559, allocations: 34.56 kB / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.456, allocations: 3.906 kB / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.4561, allocations: 167 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4561, allocations: 0 / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.4562, allocations: 4 kB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.4563, allocations: 33.69 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4563, allocations: 0 / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.4563, allocations: 4 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4563, allocations: 0 / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.679e-05/0.4564, allocations: 23.86 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.4566, allocations: 161.7 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.4567, allocations: 34.56 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.4581, allocations: 1.168 MB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.4581, allocations: 38.56 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/0.4582, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002095/0.4584, allocations: 57.53 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.4584, allocations: 51.41 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.4585, allocations: 101.2 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.4586, allocations: 25.7 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.4586, allocations: 80.14 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.4586, allocations: 11.83 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.4587, allocations: 8 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4588, allocations: 318.8 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.4588, allocations: 0 / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.4589, allocations: 4.188 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.4589, allocations: 13.06 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4589, allocations: 0 / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001052/0.459, allocations: 49.62 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4591, allocations: 4 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4591, allocations: 0 / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4591, allocations: 8 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.4592, allocations: 7.984 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4592, allocations: 4.062 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.4592, allocations: 0 / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4592, allocations: 0 / 1.032 GB, free: 9.066 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 (3): * Single equations (assignments): 3 * 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.043e-05/0.4593, allocations: 117.8 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.4594, allocations: 3.906 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.4596, allocations: 61.59 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4596, allocations: 0 / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4596, allocations: 3.938 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4596, allocations: 3.984 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.4598, allocations: 161.6 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4598, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.4598, allocations: 4 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4598, allocations: 0 / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4599, allocations: 8 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4599, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4599, allocations: 4 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.46, allocations: 69.03 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.4601, allocations: 93.05 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4601, allocations: 0 / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.4602, allocations: 3.938 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.4602, allocations: 4 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.4602, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.291e-05/0.4603, allocations: 95.27 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4603, allocations: 3.938 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003066/0.4606, allocations: 27.94 kB / 1.032 GB, free: 8.309 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 (3): * Single equations (assignments): 3 * 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.0005605/0.4612, allocations: 0.6358 MB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.4613, allocations: 15.98 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4613, allocations: 7.938 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.4614, allocations: 7.938 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.4616, allocations: 8 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.4621, allocations: 176.1 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4623, allocations: 0.6809 MB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.182e-05/0.4624, allocations: 8.375 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.4625, allocations: 11.44 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/0.4625, allocations: 0 / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.4823, allocations: 1.404 MB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000379/0.4828, allocations: 196.2 kB / 1.036 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.854, allocations: 0 / 1.036 GB, free: 5.184 MB / 0.6823 GB