Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, 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.007473/0.007473, allocations: 170 kB / 16.26 MB, free: 6.68 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.529/1.529, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004047, allocations: 9.344 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3559, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003611/0.3595, allocations: 2.636 MB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.5374, allocations: 150.8 MB / 1.224 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004337/0.5379, allocations: 4 kB / 1.224 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.5396, allocations: 0.5367 MB / 1.224 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.5412, allocations: 0.6146 MB / 1.225 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.5428, allocations: 0.5568 MB / 1.226 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.5441, allocations: 1.282 MB / 1.227 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.5444, allocations: 186.5 kB / 1.227 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.5449, allocations: 430.1 kB / 1.227 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000859/0.5457, allocations: 0.5875 MB / 1.228 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.5459, allocations: 60 kB / 1.228 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.5482, allocations: 1.243 MB / 1.229 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.5486, allocations: 354.7 kB / 1.23 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006223/0.5492, allocations: 0.666 MB / 1.23 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.5521, allocations: 2.733 MB / 1.233 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5521, allocations: 0 / 1.233 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5522, allocations: 0 / 1.233 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.5522, allocations: 0 / 1.233 GB, free: 4.266 MB / 0.9825 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.003373/0.5556, allocations: 1.887 MB / 1.235 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5556, allocations: 11.97 kB / 1.235 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/0.5724, allocations: 2.192 MB / 1.237 GB, free: 112 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.5756, allocations: 1.448 MB / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.5756, allocations: 12 kB / 1.238 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.5758, allocations: 28 kB / 1.238 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/0.5814, allocations: 1.218 MB / 1.24 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5815, allocations: 0 / 1.24 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.5815, allocations: 4 kB / 1.24 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5815, allocations: 4 kB / 1.24 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.5918, allocations: 2.068 MB / 1.242 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.6026, allocations: 3.681 MB / 1.245 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.6134, allocations: 2.168 MB / 1.247 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005175/0.6186, allocations: 1.047 MB / 1.248 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007471/0.6194, allocations: 0.5181 MB / 1.249 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005305/0.6247, allocations: 1.179 MB / 1.25 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 3.967e-06/0.6247, allocations: 3.938 kB / 1.25 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.6532/1.278, allocations: 3.31 MB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/1.278, allocations: 108 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005466/1.284, allocations: 2.484 MB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001865/1.284, allocations: 36.41 kB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/1.284, allocations: 0.5846 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/1.284, allocations: 72.31 kB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.285, allocations: 50.09 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/1.285, allocations: 328.9 kB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005689/1.29, allocations: 1.175 MB / 1.258 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005433/1.296, allocations: 1.223 MB / 1.259 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.306, allocations: 2.044 MB / 1.261 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.306, allocations: 0 / 1.261 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01365/1.32, allocations: 2.929 MB / 1.264 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.32, allocations: 133.6 kB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.32, allocations: 0 / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/1.324, allocations: 0.8118 MB / 1.265 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003405/1.327, allocations: 0.494 MB / 1.265 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008018/1.335, allocations: 7.43 MB / 1.273 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/1.339, allocations: 466.2 kB / 1.273 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.339, allocations: 31.28 kB / 1.273 GB, free: 174 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/1.339, allocations: 3.938 kB / 1.273 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01212/1.351, allocations: 2.616 MB / 1.276 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.351, allocations: 0 / 1.276 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/1.353, allocations: 0.6359 MB / 1.276 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/1.357, allocations: 492.6 kB / 1.277 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004669/1.362, allocations: 6.188 MB / 1.283 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/1.365, allocations: 454.6 kB / 1.283 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/1.366, allocations: 41.47 kB / 1.283 GB, free: 167.7 MB / 0.9981 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.001361/1.367, allocations: 0.6839 MB / 1.284 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/1.367, allocations: 146.3 kB / 1.284 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.378, allocations: 2.327 MB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.378, allocations: 2.188 kB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.378, allocations: 0 / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.378, allocations: 0.75 kB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/1.38, allocations: 1.261 MB / 1.288 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.381, allocations: 0 / 1.288 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002942/1.383, allocations: 450.3 kB / 1.288 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.383, allocations: 0 / 1.288 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/1.384, allocations: 19.44 kB / 1.288 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.384, allocations: 9.062 kB / 1.288 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.384, allocations: 1.312 kB / 1.288 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.395, allocations: 2.257 MB / 1.29 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.396, allocations: 430.7 kB / 1.291 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/1.396, allocations: 7.906 kB / 1.291 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/1.399, allocations: 401.8 kB / 1.291 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.399, allocations: 20.66 kB / 1.291 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/1.399, allocations: 27.66 kB / 1.291 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003695/1.403, allocations: 1.769 MB / 1.293 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/1.403, allocations: 0 / 1.293 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002484/1.405, allocations: 0.5521 MB / 1.293 GB, free: 162.8 MB / 0.9981 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.0006029/1.406, allocations: 242.2 kB / 1.294 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01835/1.424, allocations: 4.99 MB / 1.299 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.424, allocations: 1.422 kB / 1.299 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005208/1.43, allocations: 1.152 MB / 1.3 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.432, allocations: 353.3 kB / 1.3 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/1.453, allocations: 5.133 MB / 1.305 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/1.454, allocations: 1.419 MB / 1.306 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001923/1.456, allocations: 439.2 kB / 1.307 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/1.457, allocations: 87.36 kB / 1.307 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.457, allocations: 0 / 1.307 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03894/1.496, allocations: 27.6 MB / 1.334 GB, free: 127.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)