Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_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.0009808/0.000981, allocations: 84.38 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.001217/0.001217, 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.567/1.567, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.686/2.686, allocations: 409.4 MB / 0.684 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 11.98 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8512/0.8515, allocations: 146.8 MB / 0.9812 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.003435/0.855, allocations: 2.522 MB / 0.9836 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1708/1.026, allocations: 140.6 MB / 1.121 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005779/1.026, allocations: 4 kB / 1.121 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/1.028, allocations: 0.4978 MB / 1.121 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/1.03, allocations: 497.4 kB / 1.122 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/1.031, allocations: 477.5 kB / 1.122 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001372/1.033, allocations: 1.084 MB / 1.123 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/1.033, allocations: 182.7 kB / 1.124 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/1.034, allocations: 430.3 kB / 1.124 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008194/1.034, allocations: 0.5643 MB / 1.125 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/1.035, allocations: 64 kB / 1.125 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/1.036, allocations: 0.8266 MB / 1.125 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/1.037, allocations: 346.8 kB / 1.126 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/1.037, allocations: 281 kB / 1.126 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/1.039, allocations: 2.209 MB / 1.128 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.039, allocations: 0 / 1.128 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.555e-05/1.039, allocations: 0 / 1.128 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.715e-05/1.039, allocations: 0 / 1.128 GB, free: 15.3 MB / 0.8887 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.003188/1.042, allocations: 1.895 MB / 1.13 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.042, allocations: 8.031 kB / 1.13 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/1.042, allocations: 46.55 kB / 1.13 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01521/1.058, allocations: 2.296 MB / 1.132 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/1.06, allocations: 1.396 MB / 1.134 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/1.06, allocations: 16.23 kB / 1.134 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.915e-05/1.06, allocations: 20 kB / 1.134 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004734/1.065, allocations: 1.257 MB / 1.135 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.065, allocations: 0 / 1.135 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/1.065, allocations: 4 kB / 1.135 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/1.065, allocations: 3.938 kB / 1.135 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008524/1.074, allocations: 2.095 MB / 1.137 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009257/1.083, allocations: 3.353 MB / 1.14 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/1.095, allocations: 2.772 MB / 1.143 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004247/1.099, allocations: 1.065 MB / 1.144 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006717/1.1, allocations: 453.4 kB / 1.144 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004487/1.104, allocations: 1.228 MB / 1.146 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/1.104, allocations: 0 / 1.146 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.02892/1.133, allocations: 4.81 MB / 1.15 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/1.133, allocations: 132.5 kB / 1.15 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/1.137, allocations: 2.469 MB / 1.153 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001867/1.137, allocations: 37.7 kB / 1.153 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/1.138, allocations: 0.5861 MB / 1.153 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.138, allocations: 63.09 kB / 1.154 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/1.138, allocations: 8 kB / 1.154 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.138, allocations: 325.9 kB / 1.154 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004437/1.142, allocations: 1.198 MB / 1.155 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004475/1.147, allocations: 1.246 MB / 1.156 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/1.151, allocations: 1.137 MB / 1.157 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.151, allocations: 0 / 1.157 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02432/1.176, allocations: 4.122 MB / 1.161 GB, free: 12.79 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.176, allocations: 139.8 kB / 1.162 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.176, allocations: 0 / 1.162 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004032/1.18, allocations: 0.9638 MB / 1.162 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/1.182, allocations: 435.4 kB / 1.163 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.192, allocations: 8.087 MB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/1.196, allocations: 479.1 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/1.196, allocations: 39.95 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.196, allocations: 4 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02287/1.219, allocations: 3.86 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.219, allocations: 4.031 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/1.222, allocations: 0.7922 MB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/1.224, allocations: 431.5 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006721/1.231, allocations: 6.838 MB / 1.183 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/1.234, allocations: 467.2 kB / 1.183 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/1.234, allocations: 35.95 kB / 1.183 GB, free: 5.059 MB / 0.9356 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.001149/1.235, allocations: 0.6833 MB / 1.184 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/1.236, allocations: 142.2 kB / 1.184 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/1.259, allocations: 3.534 MB / 1.188 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.259, allocations: 0 / 1.188 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.259, allocations: 4 kB / 1.188 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.259, allocations: 0 / 1.188 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/1.261, allocations: 1.131 MB / 1.189 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.261, allocations: 0 / 1.189 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/1.263, allocations: 403.4 kB / 1.189 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006191/1.264, allocations: 168.6 kB / 1.189 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/1.264, allocations: 23.95 kB / 1.189 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009698/1.265, allocations: 0.6499 MB / 1.19 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.265, allocations: 0 / 1.19 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02298/1.288, allocations: 3.485 MB / 1.193 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.29, allocations: 443.1 kB / 1.194 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006159/1.29, allocations: 15.92 kB / 1.194 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003041/1.293, allocations: 411.5 kB / 1.194 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.293, allocations: 23.95 kB / 1.194 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.294, allocations: 31.97 kB / 1.194 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003796/1.297, allocations: 1.76 MB / 1.196 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.81e-07/1.297, allocations: 0 / 1.196 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002727/1.3, allocations: 0.5623 MB / 1.197 GB, free: 7.445 MB / 0.9512 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.01052/1.311, allocations: 3.061 MB / 1.199 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01682/1.328, allocations: 5.132 MB / 1.205 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.328, allocations: 0 / 1.205 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00468/1.332, allocations: 1.195 MB / 1.206 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/1.335, allocations: 357.6 kB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06943/1.405, allocations: 17.57 MB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.406, allocations: 1.418 MB / 1.225 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002672/1.409, allocations: 435.1 kB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.41, allocations: 451.2 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of SimCode: time 1.823e-06/1.41, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6727/2.083, allocations: 46.26 MB / 1.271 GB, free: 254.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/2.083, allocations: 248.5 kB / 1.271 GB, free: 253.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/4.866, allocations: 0 / 1.271 GB, free: 253.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) Environment - environmentSimulation: