Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.78/2.78, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001485/0.001485, allocations: 183.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 84.91 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005033, allocations: 14.16 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2309, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.003399/0.2343, allocations: 2.319 MB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8737/1.108, allocations: 130.5 MB / 1.108 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/1.109, allocations: 2.625 kB / 1.108 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002732/1.111, allocations: 0.5917 MB / 1.109 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/1.114, allocations: 0.4895 MB / 1.109 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/1.116, allocations: 461 kB / 1.11 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002132/1.118, allocations: 0.8467 MB / 1.11 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/1.119, allocations: 176 kB / 1.111 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/1.12, allocations: 375.3 kB / 1.111 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/1.122, allocations: 0.4942 MB / 1.111 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003308/1.122, allocations: 37.56 kB / 1.111 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003933/1.126, allocations: 0.7894 MB / 1.112 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000665/1.127, allocations: 252.2 kB / 1.112 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006174/1.127, allocations: 269.7 kB / 1.113 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004707/1.132, allocations: 1.83 MB / 1.114 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.132, allocations: 1.75 kB / 1.114 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.058e-06/1.132, allocations: 0 / 1.114 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.443e-05/1.132, allocations: 0 / 1.114 GB, free: 0.8867 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.006431/1.139, allocations: 1.751 MB / 1.116 GB, free: 15.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.139, allocations: 10.16 kB / 1.116 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/1.139, allocations: 47.78 kB / 1.116 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0279/1.167, allocations: 2.18 MB / 1.118 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/1.17, allocations: 0.9723 MB / 1.119 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/1.171, allocations: 15.28 kB / 1.119 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/1.171, allocations: 30.17 kB / 1.119 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009867/1.181, allocations: 1.225 MB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/1.181, allocations: 1.859 kB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.88e-05/1.181, allocations: 4.656 kB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/1.181, allocations: 3.656 kB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/1.199, allocations: 2.066 MB / 1.123 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/1.216, allocations: 3.277 MB / 1.126 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/1.236, allocations: 2.178 MB / 1.128 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009909/1.237, allocations: 452.8 kB / 1.128 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00965/1.247, allocations: 1.17 MB / 1.129 GB, free: 11.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 4.418e-06/1.247, allocations: 0.9688 kB / 1.129 GB, free: 11.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.03009/1.277, allocations: 3.388 MB / 1.133 GB, free: 10.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.277, allocations: 110.1 kB / 1.133 GB, free: 10.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006046/1.283, allocations: 2.012 MB / 1.135 GB, free: 9.875 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000317/1.283, allocations: 34.67 kB / 1.135 GB, free: 9.844 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009109/1.284, allocations: 0.5449 MB / 1.135 GB, free: 9.711 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/1.285, allocations: 72.42 kB / 1.136 GB, free: 9.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.285, allocations: 9.328 kB / 1.136 GB, free: 9.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.285, allocations: 318.8 kB / 1.136 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009701/1.295, allocations: 1.167 MB / 1.137 GB, free: 9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009885/1.305, allocations: 1.201 MB / 1.138 GB, free: 8.629 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009279/1.314, allocations: 1.09 MB / 1.139 GB, free: 8.285 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/1.314, allocations: 1.062 kB / 1.139 GB, free: 8.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0242/1.338, allocations: 2.892 MB / 1.142 GB, free: 7.285 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/1.338, allocations: 129.2 kB / 1.142 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.338, allocations: 0 / 1.142 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006603/1.345, allocations: 0.7729 MB / 1.143 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006298/1.351, allocations: 0.4927 MB / 1.143 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.367, allocations: 7.553 MB / 1.151 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00627/1.373, allocations: 458.1 kB / 1.151 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003848/1.373, allocations: 34.89 kB / 1.151 GB, free: 428 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.373, allocations: 8.156 kB / 1.151 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02014/1.394, allocations: 2.616 MB / 1.154 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.394, allocations: 5.859 kB / 1.154 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003409/1.397, allocations: 0.5946 MB / 1.154 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006116/1.403, allocations: 0.4884 MB / 1.155 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008564/1.412, allocations: 6.249 MB / 1.161 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006189/1.418, allocations: 458.1 kB / 1.161 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/1.418, allocations: 30.67 kB / 1.161 GB, free: 9.48 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00181/1.42, allocations: 0.6695 MB / 1.162 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006027/1.421, allocations: 138.4 kB / 1.162 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01913/1.44, allocations: 2.328 MB / 1.164 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.44, allocations: 2.562 kB / 1.164 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.44, allocations: 4 kB / 1.164 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.44, allocations: 3.953 kB / 1.164 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/1.443, allocations: 1.105 MB / 1.166 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/1.443, allocations: 0 / 1.166 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005374/1.448, allocations: 447.5 kB / 1.166 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/1.448, allocations: 6.031 kB / 1.166 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.448, allocations: 17.73 kB / 1.166 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.448, allocations: 0 / 1.166 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.448, allocations: 3.953 kB / 1.166 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/1.467, allocations: 2.246 MB / 1.168 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.468, allocations: 356 kB / 1.169 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003935/1.469, allocations: 12.92 kB / 1.169 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005646/1.474, allocations: 400.9 kB / 1.169 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/1.475, allocations: 17.5 kB / 1.169 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/1.475, allocations: 28.38 kB / 1.169 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004311/1.479, allocations: 1.452 MB / 1.17 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/1.479, allocations: 0 / 1.17 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003103/1.482, allocations: 0.507 MB / 1.171 GB, free: 5.082 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.02025/1.503, allocations: 2.933 MB / 1.174 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.03322/1.536, allocations: 4.991 MB / 1.179 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.536, allocations: 0 / 1.179 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.009548/1.545, allocations: 1.143 MB / 1.18 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.548, allocations: 295.7 kB / 1.18 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/1.583, allocations: 5.304 MB / 1.185 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/1.585, allocations: 1.421 MB / 1.187 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0028/1.587, allocations: 260.5 kB / 1.187 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.589, allocations: 411.1 kB / 1.187 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of SimCode: time 1.543e-06/1.589, allocations: 0 / 1.187 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1464/1.735, allocations: 35.64 MB / 1.222 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/1.736, allocations: 249.9 kB / 1.222 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.024/5.76, allocations: 0 / 1.222 GB, free: 2.453 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)