Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",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.672/1.672, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001043/0.001043, allocations: 180.3 kB / 371.6 MB, free: 3.371 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.601/1.601, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009853/0.0009854, allocations: 98.11 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.056e-05/5.092e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.252, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.644/5.896, allocations: 2.082 GB / 3.062 GB, free: 159.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/5.896, allocations: 109.9 kB / 3.062 GB, free: 159.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9334/6.83, allocations: 159.2 MB / 3.217 GB, free: 222.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.953e-06/6.83, allocations: 0 / 3.217 GB, free: 222.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001254/6.83, allocations: 35.16 kB / 3.217 GB, free: 222.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.004578/6.835, allocations: 2.23 MB / 3.219 GB, free: 221.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/6.835, allocations: 9.156 kB / 3.219 GB, free: 221.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/6.835, allocations: 94.69 kB / 3.22 GB, free: 221.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02321/6.858, allocations: 2.927 MB / 3.222 GB, free: 221.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007737/6.866, allocations: 2.833 MB / 3.225 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004752/6.866, allocations: 199.3 kB / 3.225 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/6.867, allocations: 59.8 kB / 3.225 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005075/6.872, allocations: 2.633 MB / 3.228 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/6.872, allocations: 0 / 3.228 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/6.872, allocations: 19.45 kB / 3.228 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/6.872, allocations: 11.69 kB / 3.228 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00647/6.879, allocations: 3.585 MB / 3.232 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02359/6.902, allocations: 8.819 MB / 3.24 GB, free: 220.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009516/6.912, allocations: 4.013 MB / 3.244 GB, free: 220.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/6.914, allocations: 1.616 MB / 3.246 GB, free: 220.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/6.914, allocations: 24.3 kB / 3.246 GB, free: 220.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003175/6.917, allocations: 2.375 MB / 3.248 GB, free: 220.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 3.436e-06/6.918, allocations: 0 / 3.248 GB, free: 220.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.02191/6.939, allocations: 4.682 MB / 3.253 GB, free: 219.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/6.94, allocations: 95.81 kB / 3.253 GB, free: 219.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007297/6.947, allocations: 4.143 MB / 3.257 GB, free: 219.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000869/6.948, allocations: 64.09 kB / 3.257 GB, free: 219.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/6.949, allocations: 1.008 MB / 3.258 GB, free: 219.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/6.949, allocations: 239.7 kB / 3.258 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/6.95, allocations: 16.62 kB / 3.258 GB, free: 219.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/6.95, allocations: 345.2 kB / 3.258 GB, free: 219 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/6.952, allocations: 2.139 MB / 3.26 GB, free: 219 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/6.955, allocations: 2.175 MB / 3.263 GB, free: 218.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/6.957, allocations: 1.751 MB / 3.264 GB, free: 218.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/6.957, allocations: 0 / 3.264 GB, free: 218.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.02289/6.98, allocations: 5.976 MB / 3.27 GB, free: 217.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000233/6.98, allocations: 388.6 kB / 3.27 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/6.98, allocations: 0 / 3.27 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003913/6.984, allocations: 0.9981 MB / 3.271 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004442/6.989, allocations: 0.6526 MB / 3.272 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/6.993, allocations: 4.823 MB / 3.277 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005702/6.999, allocations: 0.5809 MB / 3.277 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008028/7, allocations: 149.1 kB / 3.277 GB, free: 212.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/7, allocations: 6.344 kB / 3.277 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02178/7.021, allocations: 5.708 MB / 3.283 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/7.021, allocations: 0.5 kB / 3.283 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/7.025, allocations: 0.8847 MB / 3.284 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/7.029, allocations: 0.649 MB / 3.285 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006295/7.035, allocations: 8.506 MB / 3.293 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005688/7.041, allocations: 0.5811 MB / 3.293 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007971/7.042, allocations: 148.3 kB / 3.294 GB, free: 202.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008229/7.043, allocations: 205.5 kB / 3.294 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/7.044, allocations: 251.7 kB / 3.294 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02114/7.065, allocations: 5.048 MB / 3.299 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/7.065, allocations: 6.969 kB / 3.299 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/7.065, allocations: 1.25 kB / 3.299 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/7.065, allocations: 3.516 kB / 3.299 GB, free: 201 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/7.071, allocations: 3.585 MB / 3.302 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/7.071, allocations: 4.266 kB / 3.302 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003863/7.074, allocations: 0.6151 MB / 3.303 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000781/7.075, allocations: 204.4 kB / 3.303 GB, free: 199.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003101/7.076, allocations: 74.23 kB / 3.303 GB, free: 199.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/7.078, allocations: 2.136 MB / 3.305 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/7.078, allocations: 4.156 kB / 3.305 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/7.099, allocations: 4.681 MB / 3.31 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00336/7.102, allocations: 1.119 MB / 3.311 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/7.103, allocations: 60.47 kB / 3.311 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006297/7.11, allocations: 0.5507 MB / 3.312 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/7.11, allocations: 86.97 kB / 3.312 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004468/7.11, allocations: 141.7 kB / 3.312 GB, free: 195 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006111/7.117, allocations: 3.166 MB / 3.315 GB, free: 193.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/7.117, allocations: 0 / 3.315 GB, free: 193.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005635/7.122, allocations: 1.139 MB / 3.316 GB, free: 193.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01056/7.133, allocations: 5.303 MB / 3.321 GB, free: 191.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01365/7.146, allocations: 8.041 MB / 3.329 GB, free: 187.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/7.147, allocations: 1.156 kB / 3.329 GB, free: 187.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003292/7.15, allocations: 1.976 MB / 3.331 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/7.154, allocations: 0.624 MB / 3.332 GB, free: 186.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/7.171, allocations: 6.756 MB / 3.338 GB, free: 184.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/7.173, allocations: 2.136 MB / 3.34 GB, free: 183.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009047/7.182, allocations: 2.866 MB / 3.343 GB, free: 182.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/7.184, allocations: 0.8858 MB / 3.344 GB, free: 182.3 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/7.184, allocations: 0 / 3.344 GB, free: 182.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.153/7.337, allocations: 107.2 MB / 3.449 GB, free: 129.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/7.338, allocations: 233.9 kB / 3.449 GB, free: 129.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.712/13.05, allocations: 0 / 3.449 GB, free: 129.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)