Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.465/2.465, allocations: 284.9 MB / 292.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 176.8 kB / 360.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.3 MB / 0.6191 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 90.06 kB / 0.7321 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.917e-05, allocations: 8 kB / 0.8509 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8027/0.8028, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2369/1.04, allocations: 136.6 MB / 1.097 GB, free: 3.793 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.04, allocations: 64.48 kB / 1.097 GB, free: 3.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003271/1.043, allocations: 0.8013 MB / 1.098 GB, free: 2.949 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.023e-06/1.043, allocations: 0.7188 kB / 1.098 GB, free: 2.949 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.685e-06/1.043, allocations: 0 / 1.098 GB, free: 2.949 MB / 0.698 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.0005875/1.044, allocations: 355.6 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.044, allocations: 8.906 kB / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/1.044, allocations: 9.109 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.044, allocations: 175.5 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/1.044, allocations: 4.609 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/1.044, allocations: 6.188 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/1.044, allocations: 20.5 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/1.045, allocations: 39.41 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.045, allocations: 2.734 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.045, allocations: 4.984 kB / 1.098 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.045, allocations: 0 / 1.098 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/1.045, allocations: 290.6 kB / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/1.045, allocations: 34.52 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/1.045, allocations: 12.86 kB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/1.046, allocations: 4.75 kB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.046, allocations: 32.56 kB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/1.046, allocations: 0 / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002115/1.046, allocations: 49.78 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.046, allocations: 51.41 kB / 1.099 GB, free: 1.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/1.046, allocations: 97.53 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/1.046, allocations: 25.7 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/1.046, allocations: 88.78 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/1.046, allocations: 13 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.046, allocations: 0 / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.046, allocations: 320.4 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/1.046, allocations: 8 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/1.046, allocations: 13.11 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/1.046, allocations: 7.984 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.046, allocations: 5.281 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001344/1.047, allocations: 47.86 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.047, allocations: 4 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.047, allocations: 5.875 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.047, allocations: 4 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.047, allocations: 23.91 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/1.047, allocations: 0 / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/1.047, allocations: 15.98 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/1.047, allocations: 4 kB / 1.099 GB, free: 1.039 MB / 0.698 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 () * 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.574e-05/1.047, allocations: 112.7 kB / 1.1 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001475/1.047, allocations: 58.19 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/1.047, allocations: 4 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/1.048, allocations: 58.02 kB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.048, allocations: 0.6562 kB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.048, allocations: 4 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.048, allocations: 0 / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/1.048, allocations: 142.2 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.048, allocations: 0 / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/1.048, allocations: 23.98 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.048, allocations: 0 / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/1.048, allocations: 0 / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.048, allocations: 4 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.048, allocations: 3.938 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/1.048, allocations: 156.2 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/1.048, allocations: 87.53 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/1.048, allocations: 2.75 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/1.049, allocations: 15.98 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/1.049, allocations: 2.203 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/1.049, allocations: 7.984 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of sorting global known variables: time 5.074e-05/1.049, allocations: 83.28 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.049, allocations: 0 / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003017/1.049, allocations: 15.94 kB / 1.1 GB, free: 192 kB / 0.698 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 () * 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.0005448/1.05, allocations: 0.6839 MB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001305/1.05, allocations: 20 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.05, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.456e-05/1.05, allocations: 16 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/1.05, allocations: 9.703 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/1.051, allocations: 101.1 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/1.051, allocations: 0.6846 MB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.456e-05/1.051, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/1.051, allocations: 15.44 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/1.051, allocations: 4 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/1.084, allocations: 0.9586 MB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.085, allocations: 146.8 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.381, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)