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.0008637/0.0008637, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005046/0.005046, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.523/1.523, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004646/0.0004647, allocations: 12.66 kB / 0.6744 GB, free: 25.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1701, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004485/0.1746, allocations: 5.066 MB / 0.793 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1769, allocations: 1.721 MB / 0.7946 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.1772, allocations: 31.88 kB / 0.7947 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1776, allocations: 190.2 kB / 0.7949 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.178, allocations: 146 kB / 0.795 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.1788, allocations: 0.5458 MB / 0.7955 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.1799, allocations: 1.526 MB / 0.797 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008426/0.1808, allocations: 0.7856 MB / 0.7978 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.1811, allocations: 373.6 kB / 0.7981 GB, free: 1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.1814, allocations: 452.7 kB / 0.7986 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.1815, allocations: 40 kB / 0.7986 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1816, allocations: 51.98 kB / 0.7987 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1817, allocations: 190.8 kB / 0.7988 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.1821, allocations: 0.5291 MB / 0.7994 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1832, allocations: 1.763 MB / 0.8011 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1832, allocations: 0 / 0.8011 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1832, allocations: 0 / 0.8011 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.1832, allocations: 0 / 0.8011 GB, free: 13.97 MB / 0.6231 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.002242/0.1855, allocations: 1.566 MB / 0.8026 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1855, allocations: 12.03 kB / 0.8026 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.1857, allocations: 165 kB / 0.8028 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.1859, allocations: 167 kB / 0.8029 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009353/0.1868, allocations: 0.8092 MB / 0.8037 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/0.1869, allocations: 86.55 kB / 0.8038 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.187, allocations: 116.3 kB / 0.8039 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.1887, allocations: 1.113 MB / 0.805 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1887, allocations: 7.875 kB / 0.805 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.211e-05/0.1888, allocations: 48 kB / 0.8051 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.1888, allocations: 32 kB / 0.8051 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.1904, allocations: 0.8551 MB / 0.8059 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/0.1949, allocations: 3.959 MB / 0.8098 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.1968, allocations: 1.038 MB / 0.8108 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.1976, allocations: 474.6 kB / 0.8113 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.1976, allocations: 12.64 kB / 0.8113 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007812/0.1984, allocations: 451.3 kB / 0.8117 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 2.204e-06/0.1984, allocations: 0 / 0.8117 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.00196/0.2004, allocations: 1.104 MB / 0.8128 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/0.2005, allocations: 214.6 kB / 0.813 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009372/0.2014, allocations: 0.9272 MB / 0.8139 GB, free: 440 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.2015, allocations: 45.7 kB / 0.8139 GB, free: 388 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.2019, allocations: 0.5898 MB / 0.8145 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.2021, allocations: 279.9 kB / 0.8148 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.2022, allocations: 85.67 kB / 0.8149 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2023, allocations: 345.9 kB / 0.8152 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.203, allocations: 365.8 kB / 0.8155 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/0.2038, allocations: 0.599 MB / 0.8161 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2052, allocations: 0.8947 MB / 0.817 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2052, allocations: 0 / 0.817 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001785/0.207, allocations: 1.123 MB / 0.8181 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.2071, allocations: 246.6 kB / 0.8183 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2071, allocations: 7.938 kB / 0.8183 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2071, allocations: 8 kB / 0.8183 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.2078, allocations: 223.6 kB / 0.8186 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.2078, allocations: 11.98 kB / 0.8186 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.2085, allocations: 194.9 kB / 0.8188 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.2086, allocations: 43.98 kB / 0.8188 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-06/0.2086, allocations: 0 / 0.8188 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.2097, allocations: 0.8177 MB / 0.8196 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2097, allocations: 4 kB / 0.8196 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.2098, allocations: 8 kB / 0.8196 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.2103, allocations: 171.8 kB / 0.8198 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2103, allocations: 11.94 kB / 0.8198 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.2109, allocations: 159.3 kB / 0.8199 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.2109, allocations: 39.94 kB / 0.82 GB, free: 9.918 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,pulse.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003389/0.2113, allocations: 352 kB / 0.8203 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.2114, allocations: 114.6 kB / 0.8204 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.2116, allocations: 115.7 kB / 0.8205 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2116, allocations: 8 kB / 0.8205 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.2116, allocations: 4 kB / 0.8205 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2116, allocations: 3.984 kB / 0.8205 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.2125, allocations: 1.003 MB / 0.8215 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2125, allocations: 4 kB / 0.8215 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.2132, allocations: 167.8 kB / 0.8217 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2132, allocations: 4 kB / 0.8217 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.2132, allocations: 19.98 kB / 0.8217 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2132, allocations: 4 kB / 0.8217 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2132, allocations: 0 / 0.8217 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.2153, allocations: 1.28 MB / 0.823 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.2154, allocations: 195.5 kB / 0.8232 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.2155, allocations: 16 kB / 0.8232 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.2159, allocations: 75.94 kB / 0.8232 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.216, allocations: 48.88 kB / 0.8233 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.216, allocations: 23.98 kB / 0.8233 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000646/0.2167, allocations: 0.6241 MB / 0.8239 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2167, allocations: 0 / 0.8239 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007316/0.2174, allocations: 422.2 kB / 0.8243 GB, free: 5.359 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002276/0.2197, allocations: 1.844 MB / 0.8261 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00201/0.2217, allocations: 1.404 MB / 0.8275 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2217, allocations: 0 / 0.8275 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.2224, allocations: 403.1 kB / 0.8279 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009276/0.2233, allocations: 251 kB / 0.8281 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.2349, allocations: 9.479 MB / 0.8374 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.2354, allocations: 1.101 MB / 0.8384 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004429/0.2358, allocations: 140.3 kB / 0.8386 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.2364, allocations: 483.3 kB / 0.839 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.2364, allocations: 0 / 0.839 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.2666, allocations: 20.19 MB / 0.8588 GB, free: 1.898 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.2668, allocations: 228.9 kB / 0.859 GB, free: 1.629 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.397, allocations: 5.938 kB / 0.859 GB, free: 1.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/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)