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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007837/0.0007837, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004686/0.004686, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.549, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002278/0.5513, allocations: 2.501 MB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1339/0.6851, allocations: 150.7 MB / 1.105 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.6855, allocations: 4 kB / 1.105 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.6868, allocations: 0.5017 MB / 1.105 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.6883, allocations: 0.6029 MB / 1.106 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.6896, allocations: 0.5533 MB / 1.106 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.6908, allocations: 1.244 MB / 1.108 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.6911, allocations: 182.4 kB / 1.108 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.6916, allocations: 414.2 kB / 1.108 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007771/0.6924, allocations: 0.568 MB / 1.109 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.6925, allocations: 56 kB / 1.109 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.6943, allocations: 1.244 MB / 1.11 GB, free: 212 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.6946, allocations: 346.8 kB / 1.11 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.6953, allocations: 0.631 MB / 1.111 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.6977, allocations: 2.663 MB / 1.114 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6977, allocations: 0 / 1.114 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6977, allocations: 4 kB / 1.114 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.6977, allocations: 0 / 1.114 GB, free: 12.55 MB / 0.8731 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.002697/0.7004, allocations: 1.817 MB / 1.115 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.7005, allocations: 8.031 kB / 1.115 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.7005, allocations: 42.75 kB / 1.115 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/0.7154, allocations: 2.191 MB / 1.118 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.7172, allocations: 1.377 MB / 1.119 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.7173, allocations: 16 kB / 1.119 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.7174, allocations: 20 kB / 1.119 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005158/0.7225, allocations: 1.221 MB / 1.12 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.7225, allocations: 0 / 1.12 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/0.7226, allocations: 15.94 kB / 1.12 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7226, allocations: 0 / 1.12 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009486/0.7321, allocations: 2.057 MB / 1.122 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008597/0.7407, allocations: 3.656 MB / 1.126 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009837/0.7506, allocations: 2.168 MB / 1.128 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00476/0.7553, allocations: 1.044 MB / 1.129 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/0.7559, allocations: 0.522 MB / 1.129 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00495/0.7609, allocations: 1.182 MB / 1.13 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.7609, allocations: 0 / 1.13 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.01522/0.7761, allocations: 3.309 MB / 1.134 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.7762, allocations: 110.8 kB / 1.134 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.7791, allocations: 2.409 MB / 1.136 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.7792, allocations: 33.7 kB / 1.136 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.7797, allocations: 0.5542 MB / 1.137 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.7798, allocations: 63.02 kB / 1.137 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.7799, allocations: 53.69 kB / 1.137 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.78, allocations: 326 kB / 1.137 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005068/0.7851, allocations: 1.175 MB / 1.138 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004998/0.7901, allocations: 1.222 MB / 1.14 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009087/0.7992, allocations: 2.044 MB / 1.142 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7992, allocations: 4 kB / 1.142 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01185/0.811, allocations: 2.912 MB / 1.144 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.8111, allocations: 134.3 kB / 1.144 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.8111, allocations: 0 / 1.144 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003232/0.8144, allocations: 0.8187 MB / 1.145 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/0.8175, allocations: 495.3 kB / 1.146 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007573/0.825, allocations: 7.448 MB / 1.153 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/0.8281, allocations: 471 kB / 1.153 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.934e-05/0.8282, allocations: 31.98 kB / 1.154 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.8282, allocations: 7.938 kB / 1.154 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01061/0.8389, allocations: 2.62 MB / 1.156 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.8389, allocations: 0 / 1.156 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.8407, allocations: 0.6236 MB / 1.157 GB, free: 15.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003077/0.8438, allocations: 0.4915 MB / 1.157 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.8482, allocations: 6.184 MB / 1.163 GB, free: 8.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.8512, allocations: 459.2 kB / 1.164 GB, free: 7.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.79e-05/0.8513, allocations: 35.97 kB / 1.164 GB, free: 7.52 MB / 0.92 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 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006578/0.8519, allocations: 0.6741 MB / 1.164 GB, free: 6.828 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.8521, allocations: 138.2 kB / 1.164 GB, free: 6.691 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00999/0.8621, allocations: 2.325 MB / 1.167 GB, free: 4.352 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.8621, allocations: 8 kB / 1.167 GB, free: 4.344 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.8621, allocations: 0 / 1.167 GB, free: 4.344 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8622, allocations: 0 / 1.167 GB, free: 4.344 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.8633, allocations: 1.231 MB / 1.168 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8633, allocations: 0 / 1.168 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/0.8659, allocations: 455.4 kB / 1.168 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.866, allocations: 0 / 1.168 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.866, allocations: 19.97 kB / 1.168 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.866, allocations: 0 / 1.168 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.866, allocations: 0 / 1.168 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009592/0.8756, allocations: 2.252 MB / 1.171 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/0.8762, allocations: 419.3 kB / 1.171 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.8764, allocations: 8 kB / 1.171 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/0.8794, allocations: 403.5 kB / 1.171 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.8795, allocations: 19.97 kB / 1.171 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/0.8796, allocations: 31.97 kB / 1.171 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002467/0.882, allocations: 1.715 MB / 1.173 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.763e-06/0.882, allocations: 0 / 1.173 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00143/0.8835, allocations: 0.5428 MB / 1.174 GB, free: 13.15 MB / 0.9356 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 (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.01069/0.8942, allocations: 2.936 MB / 1.177 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01744/0.9116, allocations: 4.983 MB / 1.181 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9116, allocations: 0 / 1.181 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005052/0.9167, allocations: 1.147 MB / 1.182 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.9184, allocations: 308.6 kB / 1.183 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06997/0.9883, allocations: 23.99 MB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009514/0.9893, allocations: 1.395 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001487/0.9908, allocations: 382.8 kB / 1.208 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007611/0.9916, allocations: 427.2 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of SimCode: time 2.154e-06/0.9916, allocations: 0 / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.315/4.307, allocations: 40.47 MB / 1.248 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/4.307, allocations: 271.2 kB / 1.248 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/7.322, allocations: 4 kB / 1.248 GB, free: 0.5156 MB / 0.9981 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/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)