Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 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.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_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.0008173/0.0008174, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008254/0.0008253, allocations: 172.7 kB / 15.95 MB, free: 208 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.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.677/2.677, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003832, allocations: 12 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8928/0.8932, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003572/0.8969, allocations: 2.522 MB / 0.9836 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1681/1.065, allocations: 140.5 MB / 1.121 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/1.066, allocations: 0 / 1.121 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/1.067, allocations: 0.5095 MB / 1.121 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001626/1.069, allocations: 489.4 kB / 1.122 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/1.07, allocations: 470.7 kB / 1.122 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001477/1.072, allocations: 1.095 MB / 1.123 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/1.072, allocations: 190.6 kB / 1.124 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007627/1.073, allocations: 434.3 kB / 1.124 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/1.074, allocations: 0.5759 MB / 1.124 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002765/1.075, allocations: 56 kB / 1.125 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/1.077, allocations: 0.8305 MB / 1.125 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/1.077, allocations: 338.9 kB / 1.126 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/1.077, allocations: 285 kB / 1.126 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/1.08, allocations: 2.198 MB / 1.128 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.08, allocations: 0 / 1.128 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.913e-06/1.08, allocations: 4 kB / 1.128 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.486e-05/1.08, allocations: 0 / 1.128 GB, free: 15.32 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003411/1.083, allocations: 1.898 MB / 1.13 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.083, allocations: 8.031 kB / 1.13 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.064e-05/1.083, allocations: 46.55 kB / 1.13 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/1.098, allocations: 2.191 MB / 1.132 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/1.101, allocations: 1.379 MB / 1.133 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/1.101, allocations: 16 kB / 1.134 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/1.101, allocations: 24 kB / 1.134 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/1.106, allocations: 1.221 MB / 1.135 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.106, allocations: 0 / 1.135 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/1.106, allocations: 4 kB / 1.135 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.106, allocations: 4 kB / 1.135 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008697/1.115, allocations: 2.064 MB / 1.137 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/1.126, allocations: 3.669 MB / 1.14 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009229/1.135, allocations: 2.161 MB / 1.142 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004384/1.139, allocations: 1.047 MB / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007061/1.14, allocations: 0.5298 MB / 1.144 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004551/1.145, allocations: 1.168 MB / 1.145 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 3.217e-06/1.145, allocations: 0 / 1.145 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.01493/1.16, allocations: 3.305 MB / 1.148 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/1.16, allocations: 114.8 kB / 1.148 GB, free: 10 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006109/1.166, allocations: 2.468 MB / 1.151 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.166, allocations: 33.7 kB / 1.151 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009095/1.167, allocations: 0.5938 MB / 1.151 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/1.167, allocations: 59.11 kB / 1.152 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.167, allocations: 12 kB / 1.152 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.168, allocations: 321.9 kB / 1.152 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004683/1.172, allocations: 1.171 MB / 1.153 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004742/1.177, allocations: 1.206 MB / 1.154 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/1.182, allocations: 1.091 MB / 1.155 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.182, allocations: 3.938 kB / 1.155 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01153/1.193, allocations: 2.896 MB / 1.158 GB, free: 88 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/1.193, allocations: 128.3 kB / 1.158 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.193, allocations: 0 / 1.158 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003481/1.197, allocations: 0.7991 MB / 1.159 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/1.2, allocations: 499.3 kB / 1.159 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009469/1.209, allocations: 7.439 MB / 1.167 GB, free: 6.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/1.213, allocations: 467 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/1.213, allocations: 31.97 kB / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.213, allocations: 4 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009962/1.223, allocations: 2.612 MB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.223, allocations: 0 / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/1.225, allocations: 0.6275 MB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/1.228, allocations: 499.3 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/1.234, allocations: 6.182 MB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00464/1.239, allocations: 451.3 kB / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/1.239, allocations: 35.97 kB / 1.177 GB, free: 11.22 MB / 0.9356 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.002013/1.241, allocations: 0.6867 MB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007951/1.242, allocations: 142.2 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.257, allocations: 2.341 MB / 1.18 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.257, allocations: 0 / 1.18 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.257, allocations: 4 kB / 1.18 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.257, allocations: 3.984 kB / 1.18 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/1.261, allocations: 1.252 MB / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.261, allocations: 0 / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003592/1.264, allocations: 455.4 kB / 1.182 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/1.264, allocations: 0 / 1.182 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.264, allocations: 15.98 kB / 1.182 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/1.264, allocations: 3.984 kB / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.264, allocations: 0 / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.278, allocations: 2.254 MB / 1.184 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/1.28, allocations: 434.9 kB / 1.185 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007706/1.281, allocations: 11.98 kB / 1.185 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004391/1.285, allocations: 395.5 kB / 1.185 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/1.285, allocations: 27.95 kB / 1.185 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.285, allocations: 27.97 kB / 1.185 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.005399/1.291, allocations: 1.756 MB / 1.187 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/1.291, allocations: 0 / 1.187 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003956/1.295, allocations: 0.5468 MB / 1.187 GB, free: 0.7422 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 (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.01419/1.309, allocations: 2.943 MB / 1.19 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01675/1.326, allocations: 4.977 MB / 1.195 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.326, allocations: 0 / 1.195 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004569/1.33, allocations: 1.154 MB / 1.196 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.333, allocations: 353.8 kB / 1.197 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05844/1.391, allocations: 16.52 MB / 1.213 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.393, allocations: 1.43 MB / 1.214 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002108/1.395, allocations: 447.2 kB / 1.215 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.396, allocations: 455.2 kB / 1.215 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of SimCode: time 1.292e-06/1.396, allocations: 0 / 1.215 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6403/2.036, allocations: 41.1 MB / 1.255 GB, free: 261.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/2.036, allocations: 244 kB / 1.255 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/4.737, allocations: 2.109 kB / 1.255 GB, free: 260.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) Environment - environmentSimulation: