Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.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.Gain,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 292.6 MB / 307.5 MB, free: 5.078 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.001395/0.001395, allocations: 173.2 kB / 377.1 MB, free: 1.434 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.635/1.635, allocations: 205.4 MB / 0.6366 GB, free: 9.5 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.001121/0.001121, allocations: 93.59 kB / 0.7509 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003416, allocations: 8 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3249, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7561/1.081, allocations: 138.5 MB / 1.124 GB, free: 36.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/1.081, allocations: 68.38 kB / 1.124 GB, free: 36.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001576/1.083, allocations: 0.5945 MB / 1.124 GB, free: 35.56 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.925e-06/1.083, allocations: 0 / 1.124 GB, free: 35.56 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.417e-06/1.083, allocations: 0 / 1.124 GB, free: 35.56 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.0003751/1.083, allocations: 345.1 kB / 1.125 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.083, allocations: 12.02 kB / 1.125 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/1.083, allocations: 34.5 kB / 1.125 GB, free: 35.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/1.083, allocations: 14.12 kB / 1.125 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/1.084, allocations: 166.4 kB / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.084, allocations: 1 kB / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/1.084, allocations: 6.844 kB / 1.125 GB, free: 34.92 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/1.084, allocations: 52.73 kB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.084, allocations: 1.266 kB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.084, allocations: 4 kB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.084, allocations: 1.719 kB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/1.084, allocations: 42.64 kB / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/1.084, allocations: 275.4 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/1.085, allocations: 42.23 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/1.085, allocations: 0 / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/1.085, allocations: 38.12 kB / 1.125 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.085, allocations: 0 / 1.125 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003437/1.085, allocations: 96.12 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/1.085, allocations: 59.41 kB / 1.125 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/1.085, allocations: 89.88 kB / 1.126 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/1.085, allocations: 26.47 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/1.085, allocations: 91.75 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/1.085, allocations: 4 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/1.085, allocations: 0 / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/1.085, allocations: 314.8 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/1.085, allocations: 26.84 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/1.085, allocations: 23.33 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.434e-05/1.085, allocations: 21.66 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.085, allocations: 4.062 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/1.086, allocations: 76.44 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.086, allocations: 7.422 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/1.086, allocations: 3.938 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.086, allocations: 0 / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/1.086, allocations: 12.73 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.086, allocations: 4.984 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/1.086, allocations: 12.66 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/1.086, allocations: 0 / 1.126 GB, free: 33.59 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.967e-05/1.086, allocations: 113.8 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/1.086, allocations: 3.328 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/1.086, allocations: 7.125 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.086, allocations: 0 / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.086, allocations: 0.8125 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.086, allocations: 5.359 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/1.086, allocations: 164.5 kB / 1.126 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.086, allocations: 0 / 1.126 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/1.086, allocations: 11.42 kB / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/1.086, allocations: 0 / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/1.086, allocations: 2.094 kB / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.086, allocations: 0.5625 kB / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.086, allocations: 4 kB / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/1.087, allocations: 173.9 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/1.087, allocations: 81.02 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/1.087, allocations: 8.594 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/1.087, allocations: 11.38 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/1.087, allocations: 5.766 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/1.087, allocations: 0.5 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.093e-05/1.087, allocations: 80.09 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.087, allocations: 0 / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001979/1.087, allocations: 4 kB / 1.127 GB, free: 32.88 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.0004294/1.087, allocations: 0.7104 MB / 1.127 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002053/1.088, allocations: 54.14 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.088, allocations: 1.109 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/1.088, allocations: 23.25 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/1.088, allocations: 9.203 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/1.088, allocations: 149 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/1.089, allocations: 0.6772 MB / 1.128 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.834e-05/1.089, allocations: 4 kB / 1.128 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/1.089, allocations: 7.5 kB / 1.128 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/1.089, allocations: 4 kB / 1.128 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/1.1, allocations: 1.015 MB / 1.129 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/1.101, allocations: 184.8 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.734, allocations: 0 / 1.13 GB, free: 30.42 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)