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.0009158/0.0009159, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001092/0.001092, allocations: 172.7 kB / 15.95 MB, free: 208 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.647/1.647, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.808/1.808, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005127/0.0005128, allocations: 11.81 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2655, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.00493/0.2705, allocations: 4.687 MB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003337/0.2739, allocations: 1.686 MB / 0.7936 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009673/0.2749, allocations: 31.88 kB / 0.7937 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.2754, allocations: 182.2 kB / 0.7938 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006757/0.2761, allocations: 153.8 kB / 0.794 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.2773, allocations: 426.4 kB / 0.7944 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.2787, allocations: 1.421 MB / 0.7958 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.2795, allocations: 0.5343 MB / 0.7963 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.2798, allocations: 357.9 kB / 0.7966 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/0.2803, allocations: 425.1 kB / 0.7971 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.536e-05/0.2804, allocations: 40 kB / 0.7971 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.2806, allocations: 47.98 kB / 0.7971 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2807, allocations: 190.9 kB / 0.7973 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.2809, allocations: 225 kB / 0.7975 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2821, allocations: 1.469 MB / 0.799 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2821, allocations: 3.938 kB / 0.799 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2821, allocations: 4 kB / 0.799 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.2821, allocations: 0 / 0.799 GB, free: 15.92 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.002511/0.2846, allocations: 1.582 MB / 0.8005 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2847, allocations: 8.031 kB / 0.8005 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.2849, allocations: 164.9 kB / 0.8007 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.2851, allocations: 162 kB / 0.8008 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2861, allocations: 0.7775 MB / 0.8016 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/0.2862, allocations: 86.17 kB / 0.8017 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.2864, allocations: 120 kB / 0.8018 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.2881, allocations: 1.096 MB / 0.8029 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.2882, allocations: 0 / 0.8029 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.2883, allocations: 51.94 kB / 0.8029 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.2883, allocations: 35.94 kB / 0.803 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.2898, allocations: 0.8511 MB / 0.8038 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.2948, allocations: 3.952 MB / 0.8076 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.2968, allocations: 1.045 MB / 0.8087 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007486/0.2976, allocations: 470.6 kB / 0.8091 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.2976, allocations: 16.64 kB / 0.8091 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008025/0.2984, allocations: 440.8 kB / 0.8095 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 4.228e-06/0.2984, allocations: 0 / 0.8095 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.002115/0.3006, allocations: 1.105 MB / 0.8106 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.3007, allocations: 214.6 kB / 0.8108 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.3018, allocations: 0.9154 MB / 0.8117 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.3019, allocations: 53.64 kB / 0.8118 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.3024, allocations: 0.578 MB / 0.8123 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.3026, allocations: 287.8 kB / 0.8126 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.3026, allocations: 20 kB / 0.8126 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3028, allocations: 341.9 kB / 0.813 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.3034, allocations: 353.8 kB / 0.8133 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/0.3044, allocations: 0.5912 MB / 0.8139 GB, free: 132 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007756/0.3051, allocations: 452.5 kB / 0.8143 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3052, allocations: 4 kB / 0.8143 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001909/0.3071, allocations: 1.099 MB / 0.8154 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.3073, allocations: 250.5 kB / 0.8156 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3073, allocations: 4 kB / 0.8156 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.3073, allocations: 8 kB / 0.8156 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.3081, allocations: 211.7 kB / 0.8158 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.3081, allocations: 8 kB / 0.8158 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.3088, allocations: 202.9 kB / 0.816 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.3089, allocations: 39.98 kB / 0.8161 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.3089, allocations: 4 kB / 0.8161 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/0.3102, allocations: 0.8096 MB / 0.8169 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3102, allocations: 7.984 kB / 0.8169 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3102, allocations: 12 kB / 0.8169 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.3108, allocations: 167.8 kB / 0.817 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3108, allocations: 11.94 kB / 0.8171 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006499/0.3114, allocations: 155.6 kB / 0.8172 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.3115, allocations: 40 kB / 0.8172 GB, free: 12.58 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.0005814/0.3121, allocations: 345.8 kB / 0.8176 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3123, allocations: 118.5 kB / 0.8177 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.3125, allocations: 123.6 kB / 0.8178 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3125, allocations: 8 kB / 0.8178 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.3125, allocations: 0 / 0.8178 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.3125, allocations: 7.984 kB / 0.8178 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.3137, allocations: 1.007 MB / 0.8188 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3137, allocations: 4 kB / 0.8188 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/0.3143, allocations: 163.8 kB / 0.819 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.3143, allocations: 4 kB / 0.819 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/0.3144, allocations: 27.94 kB / 0.819 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3144, allocations: 4 kB / 0.819 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3144, allocations: 4 kB / 0.819 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.3166, allocations: 1.265 MB / 0.8202 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.3169, allocations: 199.4 kB / 0.8204 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.317, allocations: 16 kB / 0.8204 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.3174, allocations: 79.89 kB / 0.8205 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3175, allocations: 52.94 kB / 0.8206 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.3176, allocations: 23.98 kB / 0.8206 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001015/0.3186, allocations: 0.6085 MB / 0.8212 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3186, allocations: 0 / 0.8212 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00128/0.3199, allocations: 418.3 kB / 0.8216 GB, free: 8.02 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.002794/0.3227, allocations: 1.837 MB / 0.8234 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002671/0.3254, allocations: 1.393 MB / 0.8247 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3254, allocations: 0 / 0.8247 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.3261, allocations: 401.6 kB / 0.8251 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.3272, allocations: 249.4 kB / 0.8254 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.3387, allocations: 6.693 MB / 0.8319 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/0.3395, allocations: 1.097 MB / 0.833 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006351/0.3402, allocations: 136.3 kB / 0.8331 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.3408, allocations: 483.3 kB / 0.8336 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of SimCode: time 1.082e-06/0.3408, allocations: 4 kB / 0.8336 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/0.3825, allocations: 21.11 MB / 0.8542 GB, free: 6.559 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.3828, allocations: 212.5 kB / 0.8544 GB, free: 6.309 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/2.664, allocations: 0 / 0.8544 GB, free: 6.309 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: