Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.722/1.722, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001197/0.001197, allocations: 169 kB / 366.7 MB, free: 1.648 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.67/1.67, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.000952/0.0009521, allocations: 91.33 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.139e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7743, allocations: 116.3 MB / 0.9734 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/1.002, allocations: 143.1 MB / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/1.002, allocations: 87.94 kB / 1.113 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04662/1.049, allocations: 17.3 MB / 1.13 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.502e-06/1.049, allocations: 0 / 1.13 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001086/1.049, allocations: 24 kB / 1.13 GB, free: 5.66 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002953/1.052, allocations: 1.095 MB / 1.131 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/1.052, allocations: 12.03 kB / 1.131 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005133/1.052, allocations: 126.5 kB / 1.131 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/1.054, allocations: 0.5938 MB / 1.132 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/1.054, allocations: 32 kB / 1.132 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/1.054, allocations: 63.91 kB / 1.132 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001276/1.055, allocations: 0.5312 MB / 1.133 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/1.057, allocations: 0.7128 MB / 1.133 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/1.057, allocations: 3.984 kB / 1.133 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/1.057, allocations: 4 kB / 1.133 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/1.057, allocations: 20 kB / 1.133 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/1.062, allocations: 2.54 MB / 1.136 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.063, allocations: 0.605 MB / 1.136 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/1.063, allocations: 327.2 kB / 1.137 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/1.063, allocations: 8.781 kB / 1.137 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005546/1.064, allocations: 312.6 kB / 1.137 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=77): time 2.775e-06/1.064, allocations: 0 / 1.137 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77): time 0.0009463/1.065, allocations: 0.5112 MB / 1.137 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.816e-05/1.065, allocations: 167 kB / 1.138 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/1.065, allocations: 471.3 kB / 1.138 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/1.065, allocations: 33.7 kB / 1.138 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/1.066, allocations: 448 kB / 1.139 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/1.066, allocations: 256.1 kB / 1.139 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/1.066, allocations: 0 / 1.139 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.066, allocations: 387.9 kB / 1.139 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/1.067, allocations: 185.6 kB / 1.139 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/1.067, allocations: 291.6 kB / 1.14 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/1.067, allocations: 224.5 kB / 1.14 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.067, allocations: 0 / 1.14 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009393/1.068, allocations: 0.5735 MB / 1.14 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/1.069, allocations: 185.2 kB / 1.141 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.069, allocations: 0 / 1.141 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.069, allocations: 7.953 kB / 1.141 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/1.069, allocations: 163.7 kB / 1.141 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.069, allocations: 4 kB / 1.141 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/1.07, allocations: 91.47 kB / 1.141 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/1.07, allocations: 22.91 kB / 1.141 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/1.07, allocations: 4 kB / 1.141 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007231/1.07, allocations: 462.6 kB / 1.141 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/1.071, allocations: 0 / 1.141 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/1.071, allocations: 4 kB / 1.141 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/1.071, allocations: 135.8 kB / 1.141 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.071, allocations: 4 kB / 1.141 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/1.071, allocations: 59.41 kB / 1.141 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/1.071, allocations: 30.03 kB / 1.141 GB, free: 9.742 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001539/1.072, allocations: 116.8 kB / 1.142 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008296/1.072, allocations: 0.5072 MB / 1.142 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/1.073, allocations: 79.05 kB / 1.142 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/1.073, allocations: 80 kB / 1.142 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/1.073, allocations: 7.938 kB / 1.142 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.073, allocations: 4 kB / 1.142 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/1.073, allocations: 3.984 kB / 1.142 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/1.075, allocations: 1.425 MB / 1.144 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.075, allocations: 0 / 1.144 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006676/1.076, allocations: 143.8 kB / 1.144 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.076, allocations: 4 kB / 1.144 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/1.076, allocations: 8 kB / 1.144 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.076, allocations: 0 / 1.144 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.076, allocations: 9.625 kB / 1.144 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.077, allocations: 0.9156 MB / 1.145 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/1.077, allocations: 160 kB / 1.145 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/1.077, allocations: 4 kB / 1.145 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/1.078, allocations: 43.95 kB / 1.145 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/1.078, allocations: 40.72 kB / 1.145 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/1.078, allocations: 24 kB / 1.145 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004395/1.078, allocations: 356.4 kB / 1.145 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.2e-07/1.078, allocations: 0 / 1.145 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000795/1.079, allocations: 290.3 kB / 1.146 GB, free: 5.457 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.001733/1.081, allocations: 1.472 MB / 1.147 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001376/1.082, allocations: 0.7891 MB / 1.148 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.082, allocations: 0 / 1.148 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/1.083, allocations: 274.8 kB / 1.148 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/1.083, allocations: 134.2 kB / 1.148 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/1.086, allocations: 1.34 MB / 1.149 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/1.087, allocations: 1.03 MB / 1.15 GB, free: 344 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005613/1.088, allocations: 122 kB / 1.151 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/1.088, allocations: 363.4 kB / 1.151 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/1.088, allocations: 0 / 1.151 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04017/1.128, allocations: 14.26 MB / 1.165 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/1.129, allocations: 164.1 kB / 1.165 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.675, allocations: 3.938 kB / 1.165 GB, free: 1.652 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)