Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.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.Gain,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",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.446/2.446, 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.002546/0.002547, allocations: 169.3 kB / 325.5 MB, free: 2.906 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.373/2.373, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001091/0.001091, allocations: 100.2 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004796, allocations: 18.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.449, allocations: 131.2 MB / 1.027 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.4493, allocations: 71.95 kB / 1.027 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002174/0.4515, allocations: 0.6142 MB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.168e-06/0.4515, allocations: 0 / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.4515, allocations: 3.938 kB / 1.028 GB, free: 13.43 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.0004989/0.452, allocations: 343.3 kB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4521, allocations: 12.03 kB / 1.028 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.4522, allocations: 30.56 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.4522, allocations: 0 / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4523, allocations: 182.8 kB / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4524, allocations: 0 / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.4524, allocations: 0 / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.4527, allocations: 57.67 kB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4527, allocations: 0 / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.4527, allocations: 0 / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4527, allocations: 0 / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.453, allocations: 51.97 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.4536, allocations: 268.9 kB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.4538, allocations: 46.5 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.4538, allocations: 0 / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.4539, allocations: 30.56 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.4539, allocations: 0 / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005558/0.4544, allocations: 101.7 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.4545, allocations: 51.41 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.4546, allocations: 100.9 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.4546, allocations: 25.7 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.4547, allocations: 88.14 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.4547, allocations: 8.031 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.4547, allocations: 0 / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4549, allocations: 314.8 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.455, allocations: 19.98 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.4552, allocations: 27.97 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.4554, allocations: 19.98 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4554, allocations: 0 / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003496/0.4557, allocations: 77.72 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4558, allocations: 5.562 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4558, allocations: 0 / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4558, allocations: 4 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.456, allocations: 11.94 kB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.456, allocations: 0 / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.4561, allocations: 19.86 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.4561, allocations: 11.98 kB / 1.029 GB, free: 11.34 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.463e-05/0.4562, allocations: 107.7 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.4562, allocations: 3.906 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.4563, allocations: 11.11 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4563, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.4563, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4563, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.4565, allocations: 165.6 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4566, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4567, allocations: 15.98 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4567, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4567, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4567, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4567, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.4571, allocations: 171.5 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.4572, allocations: 85.09 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.4572, allocations: 7.938 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4574, allocations: 7.984 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.4574, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.4575, allocations: 4.25 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.4575, allocations: 91.3 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4575, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002694/0.4578, allocations: 8 kB / 1.03 GB, free: 10.58 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.0007788/0.4586, allocations: 0.7045 MB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.459, allocations: 51.94 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.459, allocations: 0.8438 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.4592, allocations: 23.97 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4594, allocations: 8 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.4599, allocations: 146.4 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.4603, allocations: 0.6809 MB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.123e-05/0.4603, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.4604, allocations: 7.438 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/0.4604, allocations: 0 / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.4801, allocations: 1.023 MB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003647/0.4805, allocations: 179.5 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.778, allocations: 0 / 1.033 GB, free: 7.738 MB / 0.6823 GB