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.747/1.747, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001486, allocations: 168.9 kB / 366.7 MB, free: 1.664 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.987/1.987, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0009919/0.000992, allocations: 92.34 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.789e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7844, allocations: 116.3 MB / 0.9734 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/0.9993, allocations: 137.7 MB / 1.108 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.9996, allocations: 75.94 kB / 1.108 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001671/1.001, allocations: 0.5895 MB / 1.109 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.372e-06/1.001, allocations: 0 / 1.109 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.001, allocations: 0.5938 kB / 1.109 GB, free: 11.73 MB / 0.7136 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.0003768/1.002, allocations: 334.2 kB / 1.109 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.002, allocations: 12.03 kB / 1.109 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/1.002, allocations: 3.906 kB / 1.109 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/1.002, allocations: 171.5 kB / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/1.002, allocations: 0 / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/1.002, allocations: 4.641 kB / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.372e-05/1.002, allocations: 15.09 kB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.176e-05/1.002, allocations: 38.19 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.002, allocations: 0.5938 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/1.002, allocations: 0.5625 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.002, allocations: 0 / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/1.003, allocations: 247.8 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/1.003, allocations: 27.3 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/1.003, allocations: 9.484 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/1.003, allocations: 1.312 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/1.003, allocations: 36.88 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.003, allocations: 0.7812 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001538/1.003, allocations: 37.7 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.003, allocations: 52.47 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/1.003, allocations: 93.53 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/1.003, allocations: 29.69 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/1.003, allocations: 89.2 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/1.003, allocations: 7.906 kB / 1.11 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/1.003, allocations: 1.281 kB / 1.11 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.003, allocations: 310.8 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/1.003, allocations: 11.94 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/1.003, allocations: 6.094 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.924e-05/1.004, allocations: 3.953 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.004, allocations: 0 / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.941e-05/1.004, allocations: 45.69 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.004, allocations: 4.906 kB / 1.11 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.004, allocations: 0 / 1.11 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/1.004, allocations: 1.312 kB / 1.11 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/1.004, allocations: 11.98 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/1.004, allocations: 7.156 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/1.004, allocations: 7.906 kB / 1.11 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.004, allocations: 0 / 1.11 GB, free: 9.98 MB / 0.7136 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 7.469e-05/1.004, allocations: 108.9 kB / 1.11 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.989e-05/1.004, allocations: 45.62 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/1.004, allocations: 6.328 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/1.004, allocations: 12.47 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.004, allocations: 1.125 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.004, allocations: 0 / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/1.004, allocations: 0 / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/1.004, allocations: 145.9 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.004, allocations: 3.875 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/1.004, allocations: 11.98 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.004, allocations: 0 / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/1.004, allocations: 0 / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.004, allocations: 4 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.004, allocations: 3.984 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/1.005, allocations: 134.5 kB / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/1.005, allocations: 88.95 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/1.005, allocations: 0 / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/1.005, allocations: 7.984 kB / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/1.005, allocations: 4 kB / 1.111 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/1.005, allocations: 192 / 1.111 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.32e-05/1.005, allocations: 91.27 kB / 1.111 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.005, allocations: 0 / 1.111 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002068/1.005, allocations: 4 kB / 1.111 GB, free: 9.25 MB / 0.7136 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.0003811/1.005, allocations: 0.6617 MB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.074e-05/1.005, allocations: 20.02 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.005, allocations: 2.688 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.163e-05/1.006, allocations: 11.94 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/1.006, allocations: 8.328 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/1.006, allocations: 88.22 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/1.006, allocations: 0.6807 MB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.667e-05/1.006, allocations: 128 / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/1.006, allocations: 11.44 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/1.006, allocations: 0 / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/1.028, allocations: 0.7131 MB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/1.028, allocations: 142.3 kB / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.553, allocations: 3.094 kB / 1.113 GB, free: 6.82 MB / 0.7136 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)