Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001354/0.001354, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.848/1.848, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0009072/0.0009066, allocations: 94.48 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.411e-05, allocations: 8 kB / 0.8519 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7429/0.743, allocations: 115.3 MB / 0.9645 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.687/5.43, allocations: 2.08 GB / 3.045 GB, free: 35.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/5.43, allocations: 109.2 kB / 3.045 GB, free: 35.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9894/6.42, allocations: 143 MB / 3.184 GB, free: 286.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.954e-06/6.42, allocations: 0 / 3.184 GB, free: 286.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001868/6.42, allocations: 36 kB / 3.184 GB, free: 286.3 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.007096/6.427, allocations: 2.226 MB / 3.187 GB, free: 284 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/6.427, allocations: 12.03 kB / 3.187 GB, free: 284 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03104/6.458, allocations: 2.924 MB / 3.189 GB, free: 281.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00831/6.466, allocations: 2.833 MB / 3.192 GB, free: 278.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/6.467, allocations: 176.1 kB / 3.192 GB, free: 278.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/6.467, allocations: 36 kB / 3.192 GB, free: 278.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006461/6.474, allocations: 3.559 MB / 3.196 GB, free: 274.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004609/6.478, allocations: 2.573 MB / 3.198 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/6.478, allocations: 0 / 3.198 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/6.479, allocations: 7.938 kB / 3.198 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/6.479, allocations: 12 kB / 3.198 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/6.506, allocations: 8.696 MB / 3.207 GB, free: 263.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/6.518, allocations: 3.976 MB / 3.211 GB, free: 259.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/6.521, allocations: 1.599 MB / 3.212 GB, free: 257.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/6.522, allocations: 24.38 kB / 3.212 GB, free: 257.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00399/6.526, allocations: 2.336 MB / 3.215 GB, free: 255.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 5.801e-06/6.526, allocations: 0 / 3.215 GB, free: 255.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.0335/6.559, allocations: 5.151 MB / 3.22 GB, free: 250 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/6.559, allocations: 93.88 kB / 3.22 GB, free: 249.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009731/6.569, allocations: 3.994 MB / 3.224 GB, free: 245.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/6.57, allocations: 45.69 kB / 3.224 GB, free: 245.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001426/6.572, allocations: 0.9875 MB / 3.225 GB, free: 244.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00084/6.573, allocations: 228.7 kB / 3.225 GB, free: 244.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/6.573, allocations: 8 kB / 3.225 GB, free: 244.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001118/6.573, allocations: 337.9 kB / 3.225 GB, free: 244.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003366/6.576, allocations: 2.135 MB / 3.227 GB, free: 242.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/6.58, allocations: 2.167 MB / 3.229 GB, free: 240 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03725/6.617, allocations: 11.37 MB / 3.241 GB, free: 228.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/6.617, allocations: 0 / 3.241 GB, free: 228.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.06688/6.684, allocations: 15.55 MB / 3.256 GB, free: 213 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003345/6.684, allocations: 377.8 kB / 3.256 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/6.684, allocations: 8.016 kB / 3.256 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005319/6.69, allocations: 0.957 MB / 3.257 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005814/6.696, allocations: 0.6593 MB / 3.258 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/6.701, allocations: 4.828 MB / 3.262 GB, free: 205.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007671/6.709, allocations: 0.5653 MB / 3.263 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/6.71, allocations: 151.9 kB / 3.263 GB, free: 205.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/6.71, allocations: 4 kB / 3.263 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06407/6.774, allocations: 15.21 MB / 3.278 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/6.774, allocations: 7.984 kB / 3.278 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004364/6.779, allocations: 0.8712 MB / 3.279 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005814/6.784, allocations: 0.6514 MB / 3.279 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008035/6.793, allocations: 8.23 MB / 3.287 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007361/6.8, allocations: 0.5459 MB / 3.288 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/6.801, allocations: 151.9 kB / 3.288 GB, free: 178.9 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.001544/6.803, allocations: 171.8 kB / 3.288 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03251/6.835, allocations: 5.057 MB / 3.293 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002426/6.838, allocations: 252.8 kB / 3.293 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03473/6.872, allocations: 5.216 MB / 3.299 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/6.872, allocations: 8 kB / 3.299 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/6.872, allocations: 0 / 3.299 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/6.873, allocations: 3.984 kB / 3.299 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008784/6.881, allocations: 3.503 MB / 3.302 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/6.881, allocations: 0 / 3.302 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005613/6.887, allocations: 0.6163 MB / 3.303 GB, free: 164 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/6.888, allocations: 205.5 kB / 3.303 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007075/6.889, allocations: 63.89 kB / 3.303 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002534/6.891, allocations: 2.091 MB / 3.305 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/6.891, allocations: 3.938 kB / 3.305 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03133/6.923, allocations: 4.871 MB / 3.31 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004104/6.927, allocations: 1.118 MB / 3.311 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001954/6.929, allocations: 51.98 kB / 3.311 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00738/6.936, allocations: 0.5384 MB / 3.311 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005693/6.937, allocations: 80.66 kB / 3.311 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006933/6.938, allocations: 143.9 kB / 3.312 GB, free: 154.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007262/6.945, allocations: 3.017 MB / 3.314 GB, free: 151.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/6.945, allocations: 0 / 3.314 GB, free: 151.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007116/6.952, allocations: 1.089 MB / 3.316 GB, free: 150.5 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.01541/6.968, allocations: 5.602 MB / 3.321 GB, free: 145 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01457/6.982, allocations: 7.955 MB / 3.329 GB, free: 136.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/6.982, allocations: 0 / 3.329 GB, free: 136.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003535/6.986, allocations: 1.952 MB / 3.331 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004675/6.99, allocations: 0.6181 MB / 3.331 GB, free: 134.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/7.012, allocations: 6.652 MB / 3.338 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/7.014, allocations: 2.138 MB / 3.34 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01218/7.026, allocations: 2.856 MB / 3.343 GB, free: 122.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/7.029, allocations: 0.8857 MB / 3.344 GB, free: 121.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.414e-06/7.029, allocations: 0 / 3.344 GB, free: 121.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/7.17, allocations: 88.89 MB / 3.43 GB, free: 32.83 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/7.17, allocations: 211.7 kB / 3.431 GB, free: 32.56 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.317/12.49, allocations: 0 / 3.431 GB, free: 32.56 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1)