Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001302/0.001302, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7922, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002939/0.7952, allocations: 2.313 MB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.9655, allocations: 130.6 MB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004821/0.9661, allocations: 4 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.968, allocations: 0.592 MB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.9694, allocations: 498.5 kB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.9709, allocations: 454.9 kB / 1.085 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.9721, allocations: 0.8491 MB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.9724, allocations: 174.6 kB / 1.086 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.9728, allocations: 374.6 kB / 1.086 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007294/0.9735, allocations: 0.4902 MB / 1.087 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.259e-05/0.9736, allocations: 36 kB / 1.087 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.9755, allocations: 0.7957 MB / 1.088 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.9758, allocations: 243 kB / 1.088 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.9761, allocations: 280.9 kB / 1.088 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.9781, allocations: 1.812 MB / 1.09 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.9782, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9782, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.9782, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8419 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.003212/0.9814, allocations: 1.758 MB / 1.091 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.9815, allocations: 16.03 kB / 1.092 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.9815, allocations: 46.55 kB / 1.092 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.9971, allocations: 2.179 MB / 1.094 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.9997, allocations: 0.9726 MB / 1.095 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.9997, allocations: 15.95 kB / 1.095 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.645e-05/0.9998, allocations: 24 kB / 1.095 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005202/1.005, allocations: 1.214 MB / 1.096 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.005, allocations: 0 / 1.096 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/1.005, allocations: 8 kB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/1.005, allocations: 7.984 kB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009658/1.015, allocations: 2.072 MB / 1.098 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/1.025, allocations: 3.273 MB / 1.101 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/1.035, allocations: 2.184 MB / 1.103 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/1.036, allocations: 445.6 kB / 1.104 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005189/1.041, allocations: 1.185 MB / 1.105 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 2.916e-06/1.041, allocations: 0 / 1.105 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0161/1.057, allocations: 3.38 MB / 1.108 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/1.057, allocations: 106.8 kB / 1.108 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/1.061, allocations: 2.011 MB / 1.11 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/1.061, allocations: 33.7 kB / 1.11 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/1.061, allocations: 0.558 MB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/1.061, allocations: 67 kB / 1.111 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/1.061, allocations: 8 kB / 1.111 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.062, allocations: 322 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005207/1.067, allocations: 1.167 MB / 1.112 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/1.072, allocations: 1.198 MB / 1.113 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004947/1.077, allocations: 1.102 MB / 1.115 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/1.077, allocations: 0 / 1.115 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01257/1.09, allocations: 2.885 MB / 1.117 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/1.09, allocations: 130.4 kB / 1.117 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.09, allocations: 0 / 1.117 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003446/1.093, allocations: 0.7796 MB / 1.118 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003215/1.097, allocations: 495.3 kB / 1.119 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008978/1.106, allocations: 7.542 MB / 1.126 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/1.109, allocations: 467 kB / 1.126 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/1.109, allocations: 31.97 kB / 1.127 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.109, allocations: 5.719 kB / 1.127 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01114/1.12, allocations: 2.608 MB / 1.129 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.12, allocations: 0 / 1.129 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/1.122, allocations: 0.6082 MB / 1.13 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/1.126, allocations: 495.3 kB / 1.13 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005655/1.131, allocations: 6.255 MB / 1.136 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.135, allocations: 455.3 kB / 1.137 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/1.135, allocations: 31.94 kB / 1.137 GB, free: 2.629 MB / 0.8887 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.001023/1.136, allocations: 0.6703 MB / 1.137 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/1.136, allocations: 142.2 kB / 1.138 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/1.147, allocations: 2.323 MB / 1.14 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.147, allocations: 7.953 kB / 1.14 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/1.147, allocations: 0 / 1.14 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/1.147, allocations: 0 / 1.14 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/1.148, allocations: 1.102 MB / 1.141 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/1.148, allocations: 0 / 1.141 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002849/1.151, allocations: 451.4 kB / 1.141 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.151, allocations: 0 / 1.141 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-05/1.151, allocations: 19.97 kB / 1.141 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/1.151, allocations: 3.953 kB / 1.141 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.151, allocations: 3.938 kB / 1.141 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.162, allocations: 2.257 MB / 1.144 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008519/1.163, allocations: 351.1 kB / 1.144 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.163, allocations: 8 kB / 1.144 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002875/1.166, allocations: 399.5 kB / 1.144 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.166, allocations: 23.97 kB / 1.144 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/1.166, allocations: 27.97 kB / 1.144 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002468/1.168, allocations: 1.445 MB / 1.146 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/1.168, allocations: 0 / 1.146 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001651/1.17, allocations: 0.5115 MB / 1.146 GB, free: 8.762 MB / 0.9044 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.01081/1.181, allocations: 2.93 MB / 1.149 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01795/1.199, allocations: 4.978 MB / 1.154 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/1.199, allocations: 0 / 1.154 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005162/1.204, allocations: 1.147 MB / 1.155 GB, free: 15.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/1.206, allocations: 306.7 kB / 1.155 GB, free: 15.22 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.224, allocations: 5.289 MB / 1.161 GB, free: 9.875 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.225, allocations: 1.413 MB / 1.162 GB, free: 8.43 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001541/1.227, allocations: 268.6 kB / 1.162 GB, free: 8.164 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007454/1.228, allocations: 411.2 kB / 1.163 GB, free: 7.762 MB / 0.92 GB Notification: Performance of SimCode: time 8.52e-07/1.228, allocations: 0 / 1.163 GB, free: 7.762 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06161/1.289, allocations: 35.65 MB / 1.197 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.29, allocations: 255.4 kB / 1.198 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.893, allocations: 0 / 1.198 GB, free: 4.34 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)