Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPID",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.681/1.681, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.0011/0.0011, allocations: 176.1 kB / 377.1 MB, free: 1.516 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.584/1.584, allocations: 205.4 MB / 0.6366 GB, free: 9.57 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.0009243/0.0009244, allocations: 87.58 kB / 0.7509 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003239, allocations: 8 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2757, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7718/1.048, allocations: 147.1 MB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/1.048, allocations: 83.39 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04727/1.095, allocations: 16.97 MB / 1.149 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.053e-06/1.095, allocations: 0 / 1.149 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.76e-05/1.095, allocations: 16 kB / 1.149 GB, free: 17.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00209/1.097, allocations: 1.074 MB / 1.15 GB, free: 16.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.097, allocations: 12.02 kB / 1.15 GB, free: 16.67 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/1.098, allocations: 91.5 kB / 1.15 GB, free: 16.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/1.098, allocations: 98.78 kB / 1.15 GB, free: 16.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/1.099, allocations: 0.5887 MB / 1.151 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/1.099, allocations: 103.4 kB / 1.151 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/1.099, allocations: 59.91 kB / 1.151 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/1.1, allocations: 0.6452 MB / 1.151 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.1, allocations: 4 kB / 1.151 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/1.1, allocations: 21.64 kB / 1.151 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/1.1, allocations: 19.89 kB / 1.151 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009619/1.101, allocations: 0.4889 MB / 1.152 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/1.104, allocations: 2.209 MB / 1.154 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.105, allocations: 0.6013 MB / 1.155 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/1.105, allocations: 9.25 kB / 1.155 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006791/1.106, allocations: 332.5 kB / 1.155 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/1.106, allocations: 0 / 1.155 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001406/1.107, allocations: 0.7079 MB / 1.156 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/1.107, allocations: 191.7 kB / 1.156 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/1.108, allocations: 0.5506 MB / 1.156 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/1.108, allocations: 37.7 kB / 1.156 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/1.108, allocations: 356.7 kB / 1.157 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/1.108, allocations: 153.8 kB / 1.157 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/1.108, allocations: 11.94 kB / 1.157 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/1.108, allocations: 330.5 kB / 1.157 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/1.109, allocations: 213 kB / 1.157 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/1.109, allocations: 344.4 kB / 1.158 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/1.11, allocations: 258.5 kB / 1.158 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.11, allocations: 8 kB / 1.158 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001119/1.111, allocations: 0.6607 MB / 1.159 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003017/1.111, allocations: 0.9925 MB / 1.16 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.111, allocations: 5.625 kB / 1.16 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.111, allocations: 4 kB / 1.16 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/1.112, allocations: 123.8 kB / 1.16 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/1.112, allocations: 8.562 kB / 1.16 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/1.112, allocations: 83.48 kB / 1.16 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/1.112, allocations: 24 kB / 1.16 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/1.112, allocations: 4 kB / 1.16 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009054/1.113, allocations: 0.5467 MB / 1.16 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-06/1.113, allocations: 0 / 1.16 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/1.113, allocations: 9.219 kB / 1.16 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/1.114, allocations: 119.8 kB / 1.161 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/1.114, allocations: 11.92 kB / 1.161 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/1.114, allocations: 75.5 kB / 1.161 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/1.114, allocations: 20.86 kB / 1.161 GB, free: 5.914 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0003168/1.115, allocations: 269.1 kB / 1.161 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/1.115, allocations: 75.09 kB / 1.161 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/1.115, allocations: 85.33 kB / 1.161 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.115, allocations: 7.953 kB / 1.161 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.115, allocations: 0 / 1.161 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.115, allocations: 4.922 kB / 1.161 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/1.116, allocations: 0.6492 MB / 1.162 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.116, allocations: 4 kB / 1.162 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/1.116, allocations: 91.88 kB / 1.162 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.116, allocations: 7.938 kB / 1.162 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/1.116, allocations: 8 kB / 1.162 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.116, allocations: 4 kB / 1.162 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.116, allocations: 3.953 kB / 1.162 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/1.118, allocations: 0.8294 MB / 1.163 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/1.118, allocations: 204 kB / 1.163 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/1.118, allocations: 12.66 kB / 1.163 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/1.118, allocations: 69.88 kB / 1.163 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.119, allocations: 35.89 kB / 1.163 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/1.119, allocations: 15.94 kB / 1.163 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004463/1.119, allocations: 439 kB / 1.163 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/1.119, allocations: 4 kB / 1.163 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006139/1.12, allocations: 235.3 kB / 1.164 GB, free: 2.801 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001702/1.121, allocations: 1.391 MB / 1.165 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001426/1.123, allocations: 0.8907 MB / 1.166 GB, free: 480 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.123, allocations: 0 / 1.166 GB, free: 480 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004232/1.123, allocations: 247.8 kB / 1.166 GB, free: 232 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/1.124, allocations: 176.8 kB / 1.166 GB, free: 64 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/1.127, allocations: 3.32 MB / 1.169 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/1.128, allocations: 0.9375 MB / 1.17 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004625/1.128, allocations: 91.66 kB / 1.17 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/1.129, allocations: 263.3 kB / 1.171 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/1.129, allocations: 0 / 1.171 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/1.158, allocations: 13.7 MB / 1.184 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/1.158, allocations: 167.6 kB / 1.184 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/3.788, allocations: 64 / 1.184 GB, free: 13.66 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)