Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.198/2.198, 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.001553/0.001553, allocations: 183.3 kB / 325.5 MB, free: 2.883 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.423/2.423, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001185/0.001185, allocations: 97.64 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000528/0.0005281, allocations: 16.22 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2151, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2214/0.4366, allocations: 131.2 MB / 1.027 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4369, allocations: 75.94 kB / 1.027 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002439/0.4394, allocations: 0.6687 MB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4394, allocations: 4 kB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.4394, allocations: 4 kB / 1.028 GB, free: 13.28 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.0004607/0.4399, allocations: 343.2 kB / 1.028 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.4399, allocations: 8.031 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.44, allocations: 34.56 kB / 1.028 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.44, allocations: 7.938 kB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.4402, allocations: 167 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4402, allocations: 4 kB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4402, allocations: 4 kB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.4405, allocations: 53.67 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4405, allocations: 0 / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4405, allocations: 0 / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4405, allocations: 0 / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.4409, allocations: 59.81 kB / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.4412, allocations: 256.8 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.4415, allocations: 42.59 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.4415, allocations: 4.062 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4415, allocations: 34.56 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4415, allocations: 0 / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005644/0.4421, allocations: 97.58 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.4422, allocations: 51.41 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.4423, allocations: 96.95 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4423, allocations: 25.7 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.4424, allocations: 84.14 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.4424, allocations: 16.02 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.4424, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4425, allocations: 310.8 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4427, allocations: 19.98 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.4428, allocations: 23.98 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.443, allocations: 23.97 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.443, allocations: 0 / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003437/0.4434, allocations: 81.67 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4434, allocations: 4 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4434, allocations: 0 / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4434, allocations: 4 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4436, allocations: 11.98 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.4436, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.665e-05/0.4437, allocations: 7.984 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.4437, allocations: 11.94 kB / 1.03 GB, free: 11.21 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 (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 prepare postOptimizeDAE: time 8.06e-05/0.4438, allocations: 109.9 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.4438, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.4442, allocations: 84.72 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4443, allocations: 7.969 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4443, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.4443, allocations: 3.984 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.4445, allocations: 165.5 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4445, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.4447, allocations: 11.98 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4447, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.4447, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4447, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4447, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.4451, allocations: 179.5 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.4452, allocations: 77.11 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.4452, allocations: 4.031 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.4453, allocations: 19.92 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.4454, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.4454, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.4455, allocations: 83.28 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4455, allocations: 3.938 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002887/0.4458, allocations: 4 kB / 1.03 GB, free: 10.37 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 (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.0007246/0.4465, allocations: 0.7094 MB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.4469, allocations: 44 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4469, allocations: 0 / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.4471, allocations: 27.98 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.4473, allocations: 13.7 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.4478, allocations: 138.3 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.4481, allocations: 0.6809 MB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.4482, allocations: 4 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.4482, allocations: 7.438 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/0.4482, allocations: 64 / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.466, allocations: 0.9908 MB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.4663, allocations: 183.8 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.804, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.6823 GB