Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_Examples_ModelTime",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.148/2.148, allocations: 251 MB / 265.9 MB, free: 11.69 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.001581/0.00158, allocations: 178.4 kB / 325.5 MB, free: 2.902 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.405/2.405, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.0011/0.0011, allocations: 94.17 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004788, allocations: 9.969 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.4511, allocations: 130.8 MB / 1.027 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.4514, allocations: 71.95 kB / 1.027 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005794/0.452, allocations: 376.9 kB / 1.027 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.452, allocations: 0 / 1.027 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4521, allocations: 4 kB / 1.027 GB, free: 14.11 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002875/0.4524, allocations: 307.4 kB / 1.027 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.4524, allocations: 16.03 kB / 1.027 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.4525, allocations: 30.56 kB / 1.027 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.4525, allocations: 0 / 1.027 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.4526, allocations: 163 kB / 1.027 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.4526, allocations: 3.938 kB / 1.027 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.4527, allocations: 4 kB / 1.027 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.402e-05/0.4528, allocations: 33.69 kB / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4528, allocations: 0 / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.4528, allocations: 0 / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4528, allocations: 0 / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.4528, allocations: 0 / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.453, allocations: 149.6 kB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.4531, allocations: 22.55 kB / 1.028 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.4531, allocations: 4 kB / 1.028 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.4532, allocations: 30.56 kB / 1.028 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.4532, allocations: 0 / 1.028 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.4533, allocations: 37.75 kB / 1.028 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4534, allocations: 59.34 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.91e-05/0.4534, allocations: 85 kB / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.4535, allocations: 25.7 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.4535, allocations: 84.27 kB / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.4535, allocations: 3.906 kB / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.4536, allocations: 0 / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4537, allocations: 310.8 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.4537, allocations: 0 / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-06/0.4537, allocations: 7.938 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.4538, allocations: 3.953 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4538, allocations: 0 / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.541e-05/0.4539, allocations: 41.75 kB / 1.028 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4539, allocations: 8 kB / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4539, allocations: 0 / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4539, allocations: 0 / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.454, allocations: 4 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.454, allocations: 3.938 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.4541, allocations: 4 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.4541, allocations: 0 / 1.028 GB, free: 12.48 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 (1): * Single equations (assignments): 1 * 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 8.334e-05/0.4542, allocations: 111.5 kB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.4542, allocations: 4.031 kB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.4542, allocations: 7.109 kB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4542, allocations: 0 / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4542, allocations: 7.938 kB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4543, allocations: 3.984 kB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.4544, allocations: 145.7 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4544, allocations: 3.953 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.4544, allocations: 0 / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4544, allocations: 4 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.4544, allocations: 0 / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4544, allocations: 0 / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4545, allocations: 4 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.308e-05/0.4545, allocations: 53.12 kB / 1.029 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.4546, allocations: 81.06 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4546, allocations: 4 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.115e-05/0.4547, allocations: 7.938 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.4547, allocations: 0 / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-06/0.4547, allocations: 0 / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.4547, allocations: 79.31 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4547, allocations: 0 / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002067/0.455, allocations: 0 / 1.029 GB, free: 11.88 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 (1): * Single equations (assignments): 1 * 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.0004148/0.4554, allocations: 0.5899 MB / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.4555, allocations: 8.031 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4555, allocations: 3.938 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.4555, allocations: 4 kB / 1.029 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.4556, allocations: 3.938 kB / 1.029 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.456, allocations: 104.4 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.4563, allocations: 0.6734 MB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.4564, allocations: 3.984 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.4564, allocations: 11.38 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/0.4564, allocations: 128 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.4758, allocations: 0.6759 MB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005125/0.4764, allocations: 177.9 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.839, allocations: 0 / 1.031 GB, free: 9.566 MB / 0.6823 GB