Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset",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.0008538/0.0008538, 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.004899/0.004899, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8889/0.8889, allocations: 143.2 MB / 434.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 83.41 MB / 0.598 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.00404/0.1418, allocations: 3.889 MB / 0.6018 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1441, allocations: 1.512 MB / 0.6032 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.1445, allocations: 35.81 kB / 0.6033 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1447, allocations: 114.9 kB / 0.6034 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.1453, allocations: 190.8 kB / 0.6036 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1464, allocations: 0.6269 MB / 0.6042 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.1474, allocations: 1.132 MB / 0.6053 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.234/0.3814, allocations: 474.1 kB / 0.6057 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.3819, allocations: 351.7 kB / 0.6061 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.3822, allocations: 353.6 kB / 0.6064 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.3822, allocations: 25.81 kB / 0.6064 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.3823, allocations: 26.03 kB / 0.6064 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.3824, allocations: 143.1 kB / 0.6066 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.3826, allocations: 419.4 kB / 0.607 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.3831, allocations: 1.049 MB / 0.608 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3831, allocations: 0.5625 kB / 0.608 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3831, allocations: 3.938 kB / 0.608 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.016e-06/0.3832, allocations: 0 / 0.608 GB, free: 35.05 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00163/0.3848, allocations: 1.239 MB / 0.6092 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.3848, allocations: 8.969 kB / 0.6092 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.656e-05/0.3849, allocations: 117.5 kB / 0.6093 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3851, allocations: 122.5 kB / 0.6095 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.3859, allocations: 0.7278 MB / 0.6102 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/0.386, allocations: 83.64 kB / 0.6102 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/0.386, allocations: 72.69 kB / 0.6103 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/0.387, allocations: 0.7493 MB / 0.6111 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3871, allocations: 3.984 kB / 0.6111 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.3871, allocations: 28.06 kB / 0.6111 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3871, allocations: 16 kB / 0.6111 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.388, allocations: 0.5357 MB / 0.6116 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.3904, allocations: 2.286 MB / 0.6139 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.3917, allocations: 0.6365 MB / 0.6145 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.3921, allocations: 279.1 kB / 0.6147 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.3922, allocations: 9.844 kB / 0.6147 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/0.3927, allocations: 331 kB / 0.6151 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 1.823e-06/0.3927, allocations: 3.281 kB / 0.6151 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001346/0.3941, allocations: 0.7666 MB / 0.6158 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.3941, allocations: 89.23 kB / 0.6159 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.3948, allocations: 0.7555 MB / 0.6166 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.3948, allocations: 38.45 kB / 0.6167 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.395, allocations: 442.8 kB / 0.6171 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.3951, allocations: 207.4 kB / 0.6173 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.3952, allocations: 58.27 kB / 0.6174 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.3952, allocations: 331.2 kB / 0.6177 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.3956, allocations: 208.5 kB / 0.6179 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.396, allocations: 313.5 kB / 0.6182 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000805/0.3968, allocations: 0.5184 MB / 0.6187 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3968, allocations: 0 / 0.6187 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009956/0.3978, allocations: 0.6644 MB / 0.6193 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.3979, allocations: 157 kB / 0.6195 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3979, allocations: 10.72 kB / 0.6195 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3979, allocations: 5.219 kB / 0.6195 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/0.3985, allocations: 148.5 kB / 0.6196 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3985, allocations: 12.5 kB / 0.6196 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.3989, allocations: 71.92 kB / 0.6197 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.3989, allocations: 20.28 kB / 0.6197 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-06/0.3989, allocations: 6.062 kB / 0.6197 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008152/0.3997, allocations: 0.5312 MB / 0.6203 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3998, allocations: 2.875 kB / 0.6203 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.3998, allocations: 6.531 kB / 0.6203 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.4003, allocations: 141.2 kB / 0.6204 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4003, allocations: 5.781 kB / 0.6204 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.4006, allocations: 66.27 kB / 0.6205 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.4007, allocations: 25.94 kB / 0.6205 GB, free: 31.26 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0002095/0.4009, allocations: 300 kB / 0.6208 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.401, allocations: 96.28 kB / 0.6209 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.4011, allocations: 105 kB / 0.621 GB, free: 31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4012, allocations: 5.938 kB / 0.621 GB, free: 31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4012, allocations: 0 / 0.621 GB, free: 31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4012, allocations: 3.562 kB / 0.621 GB, free: 31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.4028, allocations: 1.454 MB / 0.6224 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4028, allocations: 7.078 kB / 0.6224 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.4033, allocations: 102.3 kB / 0.6225 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4033, allocations: 2.375 kB / 0.6225 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.4034, allocations: 24.3 kB / 0.6225 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4034, allocations: 2.719 kB / 0.6225 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4034, allocations: 0 / 0.6225 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.4047, allocations: 0.9798 MB / 0.6235 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.4049, allocations: 228.5 kB / 0.6237 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.405, allocations: 14.66 kB / 0.6237 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.4054, allocations: 38.94 kB / 0.6238 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.4055, allocations: 38.78 kB / 0.6238 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.4055, allocations: 18.59 kB / 0.6238 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004279/0.4059, allocations: 0.516 MB / 0.6243 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4059, allocations: 0 / 0.6243 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005476/0.4065, allocations: 273.2 kB / 0.6246 GB, free: 29.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.001489/0.408, allocations: 1.548 MB / 0.6261 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.4092, allocations: 0.8105 MB / 0.6269 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4092, allocations: 0 / 0.6269 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.4097, allocations: 274.4 kB / 0.6271 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.4107, allocations: 244.9 kB / 0.6274 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/0.4181, allocations: 7.338 MB / 0.6345 GB, free: 23.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.4184, allocations: 0.996 MB / 0.6355 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003953/0.4188, allocations: 118.8 kB / 0.6356 GB, free: 22.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.4192, allocations: 347.4 kB / 0.636 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4192, allocations: 0 / 0.636 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.65/2.07, allocations: 16.39 MB / 0.652 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/2.07, allocations: 221.8 kB / 0.6522 GB, free: 21.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.621/6.69, allocations: 0 / 0.6522 GB, free: 21.39 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)