Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0007755/0.0007756, allocations: 82.48 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.784e-05, allocations: 4 kB / 0.7881 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2384, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8554/1.094, allocations: 131.3 MB / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/1.094, allocations: 75.19 kB / 1.02 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002155/1.097, allocations: 0.6116 MB / 1.021 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/1.097, allocations: 0 / 1.021 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.407e-06/1.097, allocations: 0 / 1.021 GB, free: 2.836 MB / 0.6355 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.0004637/1.097, allocations: 345.7 kB / 1.021 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/1.097, allocations: 15.97 kB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/1.097, allocations: 30.56 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/1.097, allocations: 4 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/1.097, allocations: 167 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.097, allocations: 0 / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/1.097, allocations: 0 / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/1.098, allocations: 37.58 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/1.098, allocations: 0 / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.098, allocations: 0 / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.098, allocations: 0 / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.183e-05/1.098, allocations: 15 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/1.098, allocations: 275.8 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/1.098, allocations: 22.52 kB / 1.022 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/1.098, allocations: 11.55 kB / 1.022 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/1.098, allocations: 8 kB / 1.022 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.099, allocations: 30.56 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/1.099, allocations: 2.734 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001986/1.099, allocations: 45.06 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/1.099, allocations: 51.41 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.099, allocations: 96.56 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/1.099, allocations: 25.7 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/1.099, allocations: 90.98 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/1.099, allocations: 3.906 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/1.099, allocations: 4 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.099, allocations: 322.4 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/1.099, allocations: 4 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/1.099, allocations: 3.312 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.87e-05/1.099, allocations: 4 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.099, allocations: 0 / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001057/1.099, allocations: 49.52 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.099, allocations: 6.031 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.1, allocations: 0 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.1, allocations: 3.984 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/1.1, allocations: 15.98 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.1, allocations: 0 / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/1.1, allocations: 7.984 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/1.1, allocations: 0 / 1.022 GB, free: 1.008 MB / 0.6355 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 (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 0.000143/1.1, allocations: 116.5 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/1.1, allocations: 3.906 kB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/1.1, allocations: 7.078 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.1, allocations: 3.938 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.1, allocations: 2.812 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.1, allocations: 7.938 kB / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/1.1, allocations: 161.4 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.1, allocations: 0 / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/1.1, allocations: 15.98 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.1, allocations: 0 / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/1.1, allocations: 3.938 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.1, allocations: 0 / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.1, allocations: 0 / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/1.101, allocations: 138.6 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/1.101, allocations: 85.09 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/1.101, allocations: 0 / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/1.101, allocations: 10.75 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/1.101, allocations: 11.48 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/1.101, allocations: 0 / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.552e-05/1.101, allocations: 79.28 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of sort global known variables: time 2.7e-07/1.101, allocations: 0 / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003266/1.101, allocations: 4 kB / 1.023 GB, free: 308 kB / 0.6355 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 (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.000579/1.102, allocations: 0.6773 MB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001046/1.102, allocations: 19.56 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.102, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/1.102, allocations: 4 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/1.102, allocations: 6.406 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/1.103, allocations: 98.14 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/1.103, allocations: 0.6809 MB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.311e-05/1.103, allocations: 3.938 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/1.103, allocations: 11.42 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/1.103, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/1.118, allocations: 1.024 MB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003111/1.119, allocations: 181.8 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.667, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)