Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.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.ApparatusDewPoint,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",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.00105/0.00105, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001354/0.001354, allocations: 168.7 kB / 15.95 MB, free: 204 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.385/1.385, allocations: 223.2 MB / 240 MB, free: 5.422 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.33/2.33, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003446, allocations: 11.98 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6847, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.002888/0.6876, allocations: 2.42 MB / 0.9562 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1641/0.8517, allocations: 140.5 MB / 1.093 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.8523, allocations: 4 kB / 1.093 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.8536, allocations: 469.9 kB / 1.094 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.8551, allocations: 481.6 kB / 1.094 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.8567, allocations: 485.7 kB / 1.095 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.8579, allocations: 1.037 MB / 1.096 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.8581, allocations: 174.6 kB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.8585, allocations: 422.3 kB / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.8593, allocations: 0.5448 MB / 1.097 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.055e-05/0.8594, allocations: 56 kB / 1.097 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.8612, allocations: 0.8383 MB / 1.098 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.8615, allocations: 322.9 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.8617, allocations: 273 kB / 1.098 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.8636, allocations: 2.143 MB / 1.1 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.8636, allocations: 3.938 kB / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8636, allocations: 0 / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.8637, allocations: 0 / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.003027/0.8667, allocations: 1.825 MB / 1.102 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.8667, allocations: 16.03 kB / 1.102 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.8668, allocations: 42.56 kB / 1.102 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/0.8822, allocations: 2.288 MB / 1.105 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/0.8852, allocations: 1.324 MB / 1.106 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.8852, allocations: 20.19 kB / 1.106 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.8853, allocations: 20 kB / 1.106 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/0.89, allocations: 1.257 MB / 1.107 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.89, allocations: 0 / 1.107 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.8901, allocations: 4 kB / 1.107 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8901, allocations: 7.938 kB / 1.107 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008243/0.8983, allocations: 2.091 MB / 1.109 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009642/0.908, allocations: 3.328 MB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.9192, allocations: 2.772 MB / 1.115 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0042/0.9235, allocations: 1.063 MB / 1.116 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.9241, allocations: 453.4 kB / 1.117 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004516/0.9286, allocations: 1.237 MB / 1.118 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/0.9286, allocations: 0 / 1.118 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.02934/0.958, allocations: 4.816 MB / 1.122 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.9581, allocations: 132.5 kB / 1.123 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/0.9618, allocations: 2.398 MB / 1.125 GB, free: 80 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.9621, allocations: 33.73 kB / 1.125 GB, free: 40 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.9626, allocations: 0.5544 MB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/0.9627, allocations: 55.2 kB / 1.126 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.9628, allocations: 8 kB / 1.126 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.9629, allocations: 318 kB / 1.126 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004381/0.9673, allocations: 1.206 MB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/0.9717, allocations: 1.238 MB / 1.128 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/0.9759, allocations: 1.13 MB / 1.129 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.9759, allocations: 3.938 kB / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02456/1, allocations: 4.133 MB / 1.133 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.001, allocations: 139.3 kB / 1.134 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.001, allocations: 0 / 1.134 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003858/1.005, allocations: 0.9638 MB / 1.135 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/1.007, allocations: 435.4 kB / 1.135 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009138/1.016, allocations: 8.071 MB / 1.143 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/1.02, allocations: 483.1 kB / 1.143 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/1.02, allocations: 39.95 kB / 1.143 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/1.02, allocations: 4 kB / 1.143 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02274/1.042, allocations: 3.849 MB / 1.147 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.042, allocations: 0 / 1.147 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/1.045, allocations: 0.7883 MB / 1.148 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/1.047, allocations: 439.4 kB / 1.148 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005803/1.053, allocations: 6.839 MB / 1.155 GB, free: 120 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/1.056, allocations: 471.2 kB / 1.155 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.057, allocations: 43.91 kB / 1.155 GB, free: 15.61 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,adp.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 (34): * Single equations (assignments): 28 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001089/1.058, allocations: 0.6592 MB / 1.156 GB, free: 14.94 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/1.058, allocations: 138.2 kB / 1.156 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02228/1.08, allocations: 3.53 MB / 1.16 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.08, allocations: 4 kB / 1.16 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.08, allocations: 3.953 kB / 1.16 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/1.08, allocations: 0 / 1.16 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/1.082, allocations: 1.099 MB / 1.161 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.082, allocations: 4 kB / 1.161 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.084, allocations: 395.5 kB / 1.161 GB, free: 9.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006019/1.085, allocations: 168.6 kB / 1.161 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/1.085, allocations: 23.89 kB / 1.161 GB, free: 9.508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009151/1.086, allocations: 0.6577 MB / 1.162 GB, free: 8.824 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.086, allocations: 0 / 1.162 GB, free: 8.824 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02236/1.108, allocations: 3.483 MB / 1.165 GB, free: 5.305 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.109, allocations: 435 kB / 1.166 GB, free: 4.859 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/1.11, allocations: 4 kB / 1.166 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/1.112, allocations: 415.5 kB / 1.166 GB, free: 4.449 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/1.112, allocations: 23.95 kB / 1.166 GB, free: 4.426 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/1.112, allocations: 31.91 kB / 1.166 GB, free: 4.395 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002622/1.115, allocations: 1.719 MB / 1.168 GB, free: 2.68 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/1.115, allocations: 0 / 1.168 GB, free: 2.68 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001683/1.117, allocations: 0.5351 MB / 1.168 GB, free: 2.145 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.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 (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009848/1.127, allocations: 3.07 MB / 1.171 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01588/1.143, allocations: 5.137 MB / 1.176 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.143, allocations: 8 kB / 1.176 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004566/1.147, allocations: 1.186 MB / 1.178 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.149, allocations: 327.8 kB / 1.178 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06131/1.21, allocations: 17.15 MB / 1.195 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/1.211, allocations: 1.398 MB / 1.196 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001704/1.213, allocations: 374.8 kB / 1.196 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/1.214, allocations: 427.2 kB / 1.197 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of SimCode: time 9.41e-07/1.214, allocations: 0 / 1.197 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06372/1.277, allocations: 44.86 MB / 1.241 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.278, allocations: 262.9 kB / 1.241 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.833, allocations: 2.188 kB / 1.241 GB, free: 7.738 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1)