Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.195/2.195, allocations: 251 MB / 265.9 MB, free: 11.7 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.001826/0.001825, allocations: 174.4 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.477/2.477, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001123/0.001123, allocations: 98.03 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007318/0.0007321, allocations: 16.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2163, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/0.4591, allocations: 131.2 MB / 1.027 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004155/0.4596, allocations: 71.95 kB / 1.027 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004846/0.4645, allocations: 0.8367 MB / 1.028 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.086e-06/0.4645, allocations: 0 / 1.028 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.4645, allocations: 0 / 1.028 GB, free: 13.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008479/0.4654, allocations: 375.1 kB / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.4655, allocations: 8.031 kB / 1.028 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.4656, allocations: 46.48 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.4656, allocations: 3.938 kB / 1.028 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.4658, allocations: 171 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4658, allocations: 4 kB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.4659, allocations: 0 / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.4665, allocations: 77.66 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4665, allocations: 0 / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.4665, allocations: 0 / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.4666, allocations: 8 kB / 1.029 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.4675, allocations: 83.92 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.4686, allocations: 312.7 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.4692, allocations: 66.55 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.4693, allocations: 0 / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.4693, allocations: 30.56 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.414e-06/0.4694, allocations: 0 / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.001561/0.4709, allocations: 165.6 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.471, allocations: 59.36 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.4712, allocations: 101 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.4713, allocations: 25.7 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.4714, allocations: 88.14 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.4714, allocations: 11.81 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.4714, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4716, allocations: 318.8 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.4721, allocations: 39.97 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.4726, allocations: 51.89 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.4731, allocations: 39.97 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4731, allocations: 0 / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001007/0.4741, allocations: 121.6 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.4742, allocations: 8 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.4742, allocations: 0 / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4742, allocations: 0 / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.4746, allocations: 23.97 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4746, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.4749, allocations: 23.94 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.475, allocations: 0 / 1.03 GB, free: 11.18 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 0.0001363/0.4751, allocations: 109.8 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.4752, allocations: 8.234 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.4763, allocations: 145.3 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4764, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4764, allocations: 3.984 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4764, allocations: 4 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.4768, allocations: 177.6 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4768, allocations: 0 / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.4771, allocations: 19.98 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4772, allocations: 0 / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4772, allocations: 0 / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.4772, allocations: 3.984 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4772, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4783, allocations: 215.4 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.4784, allocations: 89.02 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.4785, allocations: 0 / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.4788, allocations: 19.97 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.4789, allocations: 3.938 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.479, allocations: 4 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.611e-05/0.4791, allocations: 91.27 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4791, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004769/0.4796, allocations: 8 kB / 1.031 GB, free: 10.19 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.001586/0.4812, allocations: 0.7447 MB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009946/0.4822, allocations: 95.86 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4822, allocations: 0 / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.4828, allocations: 47.97 kB / 1.032 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.4832, allocations: 7.938 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.4841, allocations: 172.8 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4844, allocations: 0.6848 MB / 1.033 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.174e-05/0.4845, allocations: 4 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.4845, allocations: 11.44 kB / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of SimCode: time 8.81e-07/0.4846, allocations: 0 / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.509, allocations: 1.275 MB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003466/0.5094, allocations: 176.9 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.765, allocations: 0 / 1.034 GB, free: 6.953 MB / 0.6823 GB