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 1.517/1.517, allocations: 287.4 MB / 302.5 MB, free: 8.309 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.0009081/0.0009082, allocations: 174.1 kB / 371.1 MB, free: 10.81 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.265/1.265, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007754/0.0007756, allocations: 90.23 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 12.06 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2266, allocations: 115.3 MB / 0.9787 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002752/0.2295, allocations: 2.421 MB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6386/0.8681, allocations: 140.4 MB / 1.118 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.8686, allocations: 2.969 kB / 1.118 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.8701, allocations: 477.8 kB / 1.119 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.8718, allocations: 480 kB / 1.119 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.8737, allocations: 471.3 kB / 1.12 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.8751, allocations: 1.169 MB / 1.121 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.8754, allocations: 193.2 kB / 1.121 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.8759, allocations: 419.2 kB / 1.121 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007783/0.8767, allocations: 0.5523 MB / 1.122 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.8768, allocations: 59.91 kB / 1.122 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.879, allocations: 0.8323 MB / 1.123 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.8793, allocations: 331.8 kB / 1.123 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.8796, allocations: 271.1 kB / 1.123 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.8819, allocations: 2.134 MB / 1.125 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.882, allocations: 0 / 1.125 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.882, allocations: 2.094 kB / 1.125 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.882, allocations: 4 kB / 1.125 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.003167/0.8852, allocations: 1.816 MB / 1.127 GB, free: 15.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8852, allocations: 9.125 kB / 1.127 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.8853, allocations: 48.42 kB / 1.127 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.9004, allocations: 2.181 MB / 1.129 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.9034, allocations: 1.376 MB / 1.131 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.9035, allocations: 16.38 kB / 1.131 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.9036, allocations: 21.12 kB / 1.131 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/0.9086, allocations: 1.229 MB / 1.132 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9086, allocations: 0 / 1.132 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.9087, allocations: 4.656 kB / 1.132 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.9087, allocations: 7.719 kB / 1.132 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009397/0.9181, allocations: 2.067 MB / 1.134 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.9294, allocations: 3.651 MB / 1.138 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.9395, allocations: 2.16 MB / 1.14 GB, free: 11.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004842/0.9444, allocations: 1.049 MB / 1.141 GB, free: 11.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007732/0.9452, allocations: 0.5229 MB / 1.141 GB, free: 11.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005005/0.9502, allocations: 1.175 MB / 1.142 GB, free: 10.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.957e-06/0.9503, allocations: 0 / 1.142 GB, free: 10.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.01601/0.9663, allocations: 3.303 MB / 1.146 GB, free: 9.426 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.9664, allocations: 112.2 kB / 1.146 GB, free: 9.297 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005895/0.9723, allocations: 2.403 MB / 1.148 GB, free: 8.672 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002413/0.9726, allocations: 35.42 kB / 1.148 GB, free: 8.641 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/0.9734, allocations: 0.5466 MB / 1.149 GB, free: 8.508 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.9736, allocations: 71.52 kB / 1.149 GB, free: 8.457 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.9737, allocations: 5.469 kB / 1.149 GB, free: 8.457 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9738, allocations: 321.7 kB / 1.149 GB, free: 8.148 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005138/0.979, allocations: 1.169 MB / 1.15 GB, free: 7.793 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004897/0.9839, allocations: 1.201 MB / 1.151 GB, free: 7.426 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008702/0.9926, allocations: 2.042 MB / 1.153 GB, free: 6.754 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.9926, allocations: 3.938 kB / 1.153 GB, free: 6.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01182/1.004, allocations: 2.881 MB / 1.156 GB, free: 5.754 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.005, allocations: 135.9 kB / 1.156 GB, free: 5.621 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.005, allocations: 0 / 1.156 GB, free: 5.621 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003581/1.008, allocations: 0.8013 MB / 1.157 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/1.011, allocations: 498.5 kB / 1.157 GB, free: 5.094 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009269/1.021, allocations: 7.429 MB / 1.165 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/1.025, allocations: 472.4 kB / 1.165 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/1.025, allocations: 26.11 kB / 1.165 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.025, allocations: 6.625 kB / 1.165 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/1.036, allocations: 2.612 MB / 1.168 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.036, allocations: 7.938 kB / 1.168 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/1.038, allocations: 0.6231 MB / 1.168 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/1.041, allocations: 500 kB / 1.169 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/1.047, allocations: 6.195 MB / 1.175 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/1.05, allocations: 456.1 kB / 1.175 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.05, allocations: 33.47 kB / 1.175 GB, free: 7.965 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.001307/1.052, allocations: 0.6653 MB / 1.176 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006145/1.052, allocations: 141.3 kB / 1.176 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/1.063, allocations: 2.337 MB / 1.178 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.063, allocations: 3.938 kB / 1.178 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/1.063, allocations: 4 kB / 1.178 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.063, allocations: 0 / 1.178 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/1.066, allocations: 1.23 MB / 1.18 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.066, allocations: 0 / 1.18 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/1.068, allocations: 445.1 kB / 1.18 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/1.068, allocations: 4 kB / 1.18 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.533e-05/1.068, allocations: 19.53 kB / 1.18 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.068, allocations: 4 kB / 1.18 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.068, allocations: 0 / 1.18 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009875/1.078, allocations: 2.254 MB / 1.182 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.08, allocations: 409 kB / 1.183 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006006/1.08, allocations: 7.25 kB / 1.183 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/1.083, allocations: 402.8 kB / 1.183 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.084, allocations: 22.22 kB / 1.183 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/1.084, allocations: 27.97 kB / 1.183 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003752/1.087, allocations: 1.711 MB / 1.185 GB, free: 192 kB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/1.087, allocations: 0 / 1.185 GB, free: 192 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002989/1.09, allocations: 0.5401 MB / 1.185 GB, free: 15.66 MB / 0.7292 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.01089/1.101, allocations: 2.927 MB / 1.188 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0194/1.121, allocations: 4.989 MB / 1.193 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.121, allocations: 0 / 1.193 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00497/1.126, allocations: 1.139 MB / 1.194 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/1.129, allocations: 326.8 kB / 1.194 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05855/1.187, allocations: 16.13 MB / 1.21 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/1.188, allocations: 1.393 MB / 1.212 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001958/1.19, allocations: 390.7 kB / 1.212 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009735/1.191, allocations: 427.2 kB / 1.212 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/1.191, allocations: 0 / 1.212 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6626/1.854, allocations: 39.66 MB / 1.251 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003423/1.854, allocations: 249.3 kB / 1.251 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.393/5.247, allocations: 0 / 1.251 GB, free: 14.73 MB / 0.7917 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)