Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.00124/0.00124, allocations: 181 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.0009703/0.0009702, allocations: 87.73 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 16 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2717, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7448/1.017, allocations: 138.6 MB / 1.124 GB, free: 35.85 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/1.017, allocations: 70.41 kB / 1.124 GB, free: 35.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001601/1.018, allocations: 0.6586 MB / 1.124 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.274e-06/1.018, allocations: 0.5312 kB / 1.124 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.018, allocations: 0 / 1.124 GB, free: 35.25 MB / 0.7292 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.00036/1.019, allocations: 335 kB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.019, allocations: 16.02 kB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/1.019, allocations: 42.3 kB / 1.125 GB, free: 34.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/1.019, allocations: 5.969 kB / 1.125 GB, free: 34.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.71e-05/1.019, allocations: 167 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/1.019, allocations: 1.344 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/1.019, allocations: 3.438 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/1.019, allocations: 55.72 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.019, allocations: 0 / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/1.019, allocations: 0 / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.019, allocations: 0.8906 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/1.019, allocations: 50.34 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/1.02, allocations: 260.2 kB / 1.125 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/1.02, allocations: 51.97 kB / 1.125 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/1.02, allocations: 0 / 1.125 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/1.02, allocations: 30.56 kB / 1.125 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/1.02, allocations: 0 / 1.125 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003399/1.02, allocations: 103.7 kB / 1.126 GB, free: 34.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/1.02, allocations: 55.41 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.21e-05/1.02, allocations: 89.56 kB / 1.126 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/1.02, allocations: 29.83 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/1.02, allocations: 84.14 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/1.02, allocations: 7.328 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/1.021, allocations: 0 / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/1.021, allocations: 320.5 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/1.021, allocations: 19.33 kB / 1.126 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/1.021, allocations: 27.12 kB / 1.126 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/1.021, allocations: 19.42 kB / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.021, allocations: 0.5625 kB / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001749/1.021, allocations: 80.16 kB / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.021, allocations: 8 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/1.021, allocations: 0.625 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.021, allocations: 0.5625 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/1.021, allocations: 11.56 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.021, allocations: 1.219 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/1.021, allocations: 19.5 kB / 1.126 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/1.021, allocations: 1 kB / 1.126 GB, free: 33.3 MB / 0.7292 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 5.569e-05/1.021, allocations: 113.8 kB / 1.126 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/1.021, allocations: 4 kB / 1.126 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/1.022, allocations: 82.55 kB / 1.126 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.022, allocations: 6.531 kB / 1.126 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/1.022, allocations: 0 / 1.126 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/1.022, allocations: 0 / 1.126 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/1.022, allocations: 160.7 kB / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.022, allocations: 0 / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/1.022, allocations: 15.97 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/1.022, allocations: 0 / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/1.022, allocations: 4.594 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.022, allocations: 0 / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.022, allocations: 5.219 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/1.022, allocations: 169.7 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/1.022, allocations: 80.58 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/1.022, allocations: 0 / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/1.022, allocations: 17.06 kB / 1.127 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/1.022, allocations: 3.469 kB / 1.127 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/1.022, allocations: 0 / 1.127 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.444e-05/1.022, allocations: 79.8 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.152e-06/1.022, allocations: 0 / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001998/1.022, allocations: 7.719 kB / 1.127 GB, free: 32.52 MB / 0.7292 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.0003932/1.023, allocations: 0.7177 MB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001928/1.023, allocations: 50.72 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.023, allocations: 0 / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/1.023, allocations: 27.62 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/1.023, allocations: 0.625 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/1.024, allocations: 139.3 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/1.024, allocations: 0.6804 MB / 1.129 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.384e-05/1.024, allocations: 4.062 kB / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/1.024, allocations: 11.44 kB / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/1.024, allocations: 0 / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/1.036, allocations: 0.9935 MB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/1.036, allocations: 177 kB / 1.13 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.541, allocations: 0 / 1.13 GB, free: 30.1 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)