Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_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.76/1.76, allocations: 292.6 MB / 307.5 MB, free: 5.156 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.001149/0.001149, allocations: 188.7 kB / 377.1 MB, free: 1.5 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.749/1.749, allocations: 205.4 MB / 0.6366 GB, free: 9.52 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.001174/0.001174, allocations: 88.42 kB / 0.7509 GB, free: 62.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.000409, allocations: 8 kB / 0.8749 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3008, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8451/1.146, allocations: 143.8 MB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.146, allocations: 90.09 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06135/1.208, allocations: 24.56 MB / 1.153 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.164e-06/1.208, allocations: 0 / 1.153 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.901e-05/1.208, allocations: 28 kB / 1.153 GB, free: 14.22 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002565/1.21, allocations: 1.571 MB / 1.155 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.21, allocations: 12.95 kB / 1.155 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/1.211, allocations: 164.9 kB / 1.155 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/1.211, allocations: 164.1 kB / 1.155 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/1.212, allocations: 0.7814 MB / 1.156 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/1.212, allocations: 86.17 kB / 1.156 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.212, allocations: 129.1 kB / 1.156 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/1.214, allocations: 1.112 MB / 1.157 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.214, allocations: 0 / 1.157 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/1.214, allocations: 45.72 kB / 1.157 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/1.214, allocations: 36.83 kB / 1.157 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/1.216, allocations: 0.8785 MB / 1.158 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00457/1.22, allocations: 3.776 MB / 1.162 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/1.222, allocations: 1.11 MB / 1.163 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-05/1.222, allocations: 13 kB / 1.163 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008554/1.223, allocations: 477.1 kB / 1.163 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=92): time 3.927e-06/1.223, allocations: 0 / 1.163 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92): time 0.002197/1.225, allocations: 1.171 MB / 1.164 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/1.226, allocations: 218.6 kB / 1.164 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/1.227, allocations: 0.827 MB / 1.165 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.174e-05/1.227, allocations: 45.7 kB / 1.165 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/1.227, allocations: 0.548 MB / 1.166 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/1.227, allocations: 307.5 kB / 1.166 GB, free: 396 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/1.228, allocations: 20 kB / 1.166 GB, free: 376 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.228, allocations: 337.9 kB / 1.166 GB, free: 32 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009218/1.229, allocations: 357.9 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.23, allocations: 0.5108 MB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009477/1.231, allocations: 433 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.231, allocations: 0 / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002258/1.233, allocations: 1.057 MB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003556/1.233, allocations: 0.6508 MB / 1.169 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.233, allocations: 4 kB / 1.169 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/1.233, allocations: 4 kB / 1.169 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009687/1.234, allocations: 203.7 kB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/1.234, allocations: 9.016 kB / 1.17 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008442/1.235, allocations: 183 kB / 1.17 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/1.235, allocations: 37.86 kB / 1.17 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.235, allocations: 4 kB / 1.17 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001191/1.236, allocations: 0.7513 MB / 1.171 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/1.236, allocations: 7.891 kB / 1.171 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/1.236, allocations: 9.031 kB / 1.171 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/1.237, allocations: 151.8 kB / 1.171 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.237, allocations: 8 kB / 1.171 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/1.238, allocations: 147.3 kB / 1.171 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/1.238, allocations: 27.98 kB / 1.171 GB, free: 11.38 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0007493/1.238, allocations: 342.7 kB / 1.171 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.239, allocations: 122.4 kB / 1.171 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/1.239, allocations: 132.5 kB / 1.171 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.239, allocations: 8 kB / 1.171 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.239, allocations: 0 / 1.171 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.239, allocations: 3.984 kB / 1.171 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/1.242, allocations: 1.947 MB / 1.173 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.242, allocations: 0 / 1.173 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/1.242, allocations: 185.8 kB / 1.174 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.242, allocations: 4 kB / 1.174 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/1.243, allocations: 19.98 kB / 1.174 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/1.243, allocations: 4 kB / 1.174 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.243, allocations: 0 / 1.174 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/1.245, allocations: 1.415 MB / 1.175 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/1.245, allocations: 208.4 kB / 1.175 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.245, allocations: 19.95 kB / 1.175 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/1.246, allocations: 79.94 kB / 1.175 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/1.246, allocations: 44.94 kB / 1.175 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/1.246, allocations: 27.98 kB / 1.175 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008792/1.247, allocations: 0.6486 MB / 1.176 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/1.247, allocations: 0 / 1.176 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001042/1.248, allocations: 410.4 kB / 1.176 GB, free: 5.688 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002789/1.251, allocations: 2.007 MB / 1.178 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00242/1.253, allocations: 1.369 MB / 1.18 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.253, allocations: 0 / 1.18 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007305/1.254, allocations: 418.3 kB / 1.18 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/1.255, allocations: 236.5 kB / 1.18 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/1.26, allocations: 4.511 MB / 1.185 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/1.261, allocations: 1.134 MB / 1.186 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006848/1.262, allocations: 139.7 kB / 1.186 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006667/1.263, allocations: 495.9 kB / 1.186 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of SimCode: time 1.163e-06/1.263, allocations: 0 / 1.186 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04449/1.307, allocations: 21.12 MB / 1.207 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.307, allocations: 194 kB / 1.207 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/4.061, allocations: 4 kB / 1.207 GB, free: 6.008 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)