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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.933/1.933, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009067/0.0009067, allocations: 10.75 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.283, allocations: 116.3 MB / 0.7873 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.00497/0.2881, allocations: 4.73 MB / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.2913, allocations: 1.683 MB / 0.7935 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.2919, allocations: 27.94 kB / 0.7935 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.2922, allocations: 114.6 kB / 0.7937 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.2929, allocations: 255 kB / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.2939, allocations: 465.9 kB / 0.7943 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.2951, allocations: 0.961 MB / 0.7953 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.2958, allocations: 0.5343 MB / 0.7958 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.2961, allocations: 366 kB / 0.7962 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.2965, allocations: 421.3 kB / 0.7966 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.275e-05/0.2966, allocations: 40 kB / 0.7966 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.2968, allocations: 51.98 kB / 0.7966 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.2969, allocations: 183 kB / 0.7968 GB, free: 2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.2971, allocations: 221 kB / 0.797 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.2983, allocations: 1.477 MB / 0.7985 GB, free: 304 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2983, allocations: 4 kB / 0.7985 GB, free: 300 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2983, allocations: 0 / 0.7985 GB, free: 300 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.2983, allocations: 0 / 0.7985 GB, free: 300 kB / 0.6075 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.002675/0.301, allocations: 1.578 MB / 0.8 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.301, allocations: 12.03 kB / 0.8 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.3012, allocations: 168.9 kB / 0.8002 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.3015, allocations: 162 kB / 0.8003 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.3027, allocations: 0.7775 MB / 0.8011 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/0.3028, allocations: 86.17 kB / 0.8012 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.3029, allocations: 116 kB / 0.8013 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.3048, allocations: 1.096 MB / 0.8024 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.3048, allocations: 0 / 0.8024 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/0.3049, allocations: 43.98 kB / 0.8024 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.3049, allocations: 28 kB / 0.8024 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.3066, allocations: 0.8511 MB / 0.8033 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005441/0.3121, allocations: 3.967 MB / 0.8071 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.3143, allocations: 1.06 MB / 0.8082 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.3143, allocations: 16.62 kB / 0.8082 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008308/0.3152, allocations: 440.8 kB / 0.8086 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 3.176e-06/0.3152, allocations: 0 / 0.8086 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.002162/0.3174, allocations: 1.101 MB / 0.8097 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3175, allocations: 218.6 kB / 0.8099 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.3186, allocations: 0.9154 MB / 0.8108 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.3186, allocations: 45.7 kB / 0.8108 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.3191, allocations: 0.5742 MB / 0.8114 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.3193, allocations: 291.7 kB / 0.8117 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.3194, allocations: 24 kB / 0.8117 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3195, allocations: 345.9 kB / 0.812 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/0.3202, allocations: 349.8 kB / 0.8124 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008692/0.3211, allocations: 0.5912 MB / 0.8129 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.3219, allocations: 444.4 kB / 0.8134 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.322, allocations: 0 / 0.8134 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002033/0.324, allocations: 1.111 MB / 0.8144 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007435/0.3248, allocations: 1.69 MB / 0.8161 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3248, allocations: 12 kB / 0.8161 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/0.3248, allocations: 8 kB / 0.8161 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.3256, allocations: 211.6 kB / 0.8163 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.477e-05/0.3257, allocations: 15.98 kB / 0.8163 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/0.3265, allocations: 198.9 kB / 0.8165 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/0.3266, allocations: 39.98 kB / 0.8166 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3266, allocations: 7.953 kB / 0.8166 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001307/0.328, allocations: 0.8096 MB / 0.8174 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.328, allocations: 4 kB / 0.8174 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.328, allocations: 8 kB / 0.8174 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.3286, allocations: 168.3 kB / 0.8175 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.3286, allocations: 11.94 kB / 0.8175 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/0.3293, allocations: 165.8 kB / 0.8177 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.3294, allocations: 32 kB / 0.8177 GB, free: 11.89 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0005837/0.33, allocations: 351.8 kB / 0.8181 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.3301, allocations: 114.5 kB / 0.8182 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.3304, allocations: 119.7 kB / 0.8183 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3304, allocations: 8 kB / 0.8183 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3304, allocations: 0 / 0.8183 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.3304, allocations: 7.984 kB / 0.8183 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.3317, allocations: 0.9994 MB / 0.8193 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3317, allocations: 0 / 0.8193 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.3324, allocations: 167.8 kB / 0.8194 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.3324, allocations: 7.938 kB / 0.8194 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.3325, allocations: 31.94 kB / 0.8195 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3325, allocations: 0 / 0.8195 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3325, allocations: 7.938 kB / 0.8195 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.3349, allocations: 1.265 MB / 0.8207 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.3351, allocations: 203.4 kB / 0.8209 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.3352, allocations: 16 kB / 0.8209 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.3357, allocations: 79.89 kB / 0.821 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.3358, allocations: 44.94 kB / 0.821 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.3358, allocations: 23.98 kB / 0.8211 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008565/0.3367, allocations: 0.6124 MB / 0.8217 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3367, allocations: 0 / 0.8217 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001096/0.3378, allocations: 414.3 kB / 0.8221 GB, free: 7.336 MB / 0.6387 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: 3 ($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 (84): * Single equations (assignments): 83 * 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.002698/0.3405, allocations: 1.848 MB / 0.8239 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002463/0.343, allocations: 1.389 MB / 0.8252 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.343, allocations: 0 / 0.8252 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000703/0.3437, allocations: 398 kB / 0.8256 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009834/0.3447, allocations: 234.9 kB / 0.8258 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/0.3514, allocations: 6.269 MB / 0.8319 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009349/0.3523, allocations: 1.121 MB / 0.833 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006641/0.353, allocations: 136.3 kB / 0.8332 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007106/0.3537, allocations: 487.3 kB / 0.8336 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of SimCode: time 1.352e-06/0.3538, allocations: 0 / 0.8336 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/0.4006, allocations: 20.52 MB / 0.8537 GB, free: 6.863 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/0.401, allocations: 197.5 kB / 0.8539 GB, free: 6.625 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/2.931, allocations: 0 / 0.8539 GB, free: 6.625 MB / 0.67 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) Environment - environmentSimulation: