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.705/1.705, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001062/0.001062, allocations: 173.9 kB / 371.6 MB, free: 3.391 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.869/1.869, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009028/0.0009027, allocations: 92.2 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.876e-05/4.879e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2907, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8934/1.184, allocations: 138.4 MB / 1.115 GB, free: 45.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/1.184, allocations: 70.3 kB / 1.115 GB, free: 45.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001573/1.186, allocations: 0.591 MB / 1.116 GB, free: 44.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.224e-06/1.186, allocations: 0.5312 kB / 1.116 GB, free: 44.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.856e-06/1.186, allocations: 0 / 1.116 GB, free: 44.67 MB / 0.7448 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.0004034/1.187, allocations: 338.6 kB / 1.116 GB, free: 44.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/1.187, allocations: 8.031 kB / 1.116 GB, free: 44.3 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/1.187, allocations: 35.88 kB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/1.187, allocations: 8.312 kB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.187, allocations: 159.1 kB / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.187, allocations: 3.266 kB / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/1.187, allocations: 4 kB / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/1.187, allocations: 44.55 kB / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/1.187, allocations: 0 / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/1.187, allocations: 0.6562 kB / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.187, allocations: 0.8438 kB / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/1.187, allocations: 11.81 kB / 1.116 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/1.188, allocations: 279.1 kB / 1.117 GB, free: 43.72 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/1.188, allocations: 22.58 kB / 1.117 GB, free: 43.69 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/1.188, allocations: 15.92 kB / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/1.188, allocations: 0 / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/1.188, allocations: 35.25 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/1.188, allocations: 4.797 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001642/1.188, allocations: 37.52 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/1.188, allocations: 51.41 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/1.188, allocations: 100.7 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.188, allocations: 25.7 kB / 1.117 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/1.188, allocations: 87.2 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/1.188, allocations: 8.688 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.188, allocations: 0.6562 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.188, allocations: 326.1 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/1.188, allocations: 4 kB / 1.117 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/1.188, allocations: 7.875 kB / 1.117 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.77e-05/1.188, allocations: 4 kB / 1.117 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.188, allocations: 0 / 1.117 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.291e-05/1.188, allocations: 41.2 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.188, allocations: 4.844 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.188, allocations: 0 / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.188, allocations: 4.094 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/1.189, allocations: 15.47 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.189, allocations: 0 / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/1.189, allocations: 7.516 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/1.189, allocations: 0 / 1.117 GB, free: 42.91 MB / 0.7448 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 8.125e-05/1.189, allocations: 112 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/1.189, allocations: 3.906 kB / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/1.189, allocations: 8.469 kB / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.189, allocations: 0.9375 kB / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.189, allocations: 7.422 kB / 1.117 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.189, allocations: 0 / 1.117 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/1.189, allocations: 160.4 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.189, allocations: 0.5625 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/1.189, allocations: 15.41 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.189, allocations: 0.75 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/1.189, allocations: 0 / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.189, allocations: 0.5 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.189, allocations: 8 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/1.189, allocations: 137.7 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/1.189, allocations: 81.11 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/1.189, allocations: 0.5 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/1.19, allocations: 11.31 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/1.19, allocations: 12.11 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/1.19, allocations: 0 / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.074e-05/1.19, allocations: 80.28 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.19, allocations: 0 / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002095/1.19, allocations: 7.875 kB / 1.118 GB, free: 42.23 MB / 0.7448 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.0003923/1.19, allocations: 0.6808 MB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.463e-05/1.19, allocations: 20.28 kB / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.19, allocations: 0 / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/1.19, allocations: 7.938 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/1.191, allocations: 8.5 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/1.191, allocations: 79.25 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/1.191, allocations: 0.6839 MB / 1.119 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.972e-05/1.191, allocations: 6.953 kB / 1.119 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/1.191, allocations: 7.438 kB / 1.119 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/1.191, allocations: 0 / 1.119 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/1.203, allocations: 1.02 MB / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/1.203, allocations: 157.1 kB / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.71, allocations: 4 kB / 1.121 GB, free: 39.94 MB / 0.7448 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)