Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009505/0.0009505, 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.008161/0.008161, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.636/1.636, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.111/3.111, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 13.03 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.36, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003364/0.3634, allocations: 2.64 MB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1813/0.5447, allocations: 150.8 MB / 1.224 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004443/0.5452, allocations: 4 kB / 1.224 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.547, allocations: 0.5366 MB / 1.224 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.5496, allocations: 0.6185 MB / 1.225 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.5519, allocations: 0.5493 MB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.5538, allocations: 1.287 MB / 1.227 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.5541, allocations: 186.5 kB / 1.227 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/0.5546, allocations: 430.1 kB / 1.227 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008969/0.5556, allocations: 0.5835 MB / 1.228 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.5557, allocations: 60 kB / 1.228 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.5586, allocations: 1.251 MB / 1.229 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.5591, allocations: 350.7 kB / 1.23 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008927/0.56, allocations: 0.6621 MB / 1.23 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.5638, allocations: 2.733 MB / 1.233 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5638, allocations: 0 / 1.233 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5639, allocations: 0 / 1.233 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.221e-05/0.5639, allocations: 0 / 1.233 GB, free: 4.277 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.003934/0.5678, allocations: 1.891 MB / 1.235 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5679, allocations: 12.03 kB / 1.235 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.5843, allocations: 2.184 MB / 1.237 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.5875, allocations: 1.448 MB / 1.238 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.5875, allocations: 19.98 kB / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.5876, allocations: 24 kB / 1.238 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005587/0.5932, allocations: 1.218 MB / 1.24 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5933, allocations: 4 kB / 1.24 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.5933, allocations: 4 kB / 1.24 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5933, allocations: 4 kB / 1.24 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.6038, allocations: 2.072 MB / 1.242 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.6156, allocations: 3.681 MB / 1.245 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.6265, allocations: 2.168 MB / 1.247 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005094/0.6317, allocations: 1.043 MB / 1.248 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/0.6324, allocations: 0.5298 MB / 1.249 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005434/0.6378, allocations: 1.169 MB / 1.25 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 6.092e-06/0.6379, allocations: 4 kB / 1.25 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.6685/1.306, allocations: 3.308 MB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/1.306, allocations: 110.9 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005939/1.312, allocations: 2.484 MB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.313, allocations: 36.48 kB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/1.313, allocations: 0.587 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/1.313, allocations: 66.16 kB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.314, allocations: 52.81 kB / 1.257 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/1.314, allocations: 330.9 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005632/1.319, allocations: 1.176 MB / 1.258 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005393/1.325, allocations: 1.219 MB / 1.259 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009815/1.335, allocations: 2.049 MB / 1.261 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.335, allocations: 0 / 1.261 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01308/1.348, allocations: 2.929 MB / 1.264 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/1.348, allocations: 129.6 kB / 1.264 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.348, allocations: 0 / 1.264 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0038/1.352, allocations: 0.8079 MB / 1.265 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/1.355, allocations: 0.4912 MB / 1.265 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008705/1.364, allocations: 7.436 MB / 1.273 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/1.368, allocations: 463 kB / 1.273 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.368, allocations: 38.45 kB / 1.273 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/1.368, allocations: 4.156 kB / 1.273 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01238/1.38, allocations: 2.612 MB / 1.276 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.38, allocations: 0 / 1.276 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/1.383, allocations: 0.6331 MB / 1.276 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/1.386, allocations: 0.4899 MB / 1.277 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005046/1.391, allocations: 6.187 MB / 1.283 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/1.395, allocations: 453.5 kB / 1.283 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.395, allocations: 29.84 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.001185/1.396, allocations: 0.6822 MB / 1.284 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/1.396, allocations: 149.2 kB / 1.284 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.407, allocations: 2.333 MB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.407, allocations: 2.438 kB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.407, allocations: 0.6875 kB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.407, allocations: 1.281 kB / 1.286 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/1.409, allocations: 1.256 MB / 1.288 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.409, allocations: 0 / 1.288 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002838/1.411, allocations: 454.6 kB / 1.288 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.411, allocations: 5.062 kB / 1.288 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/1.411, allocations: 20.44 kB / 1.288 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/1.411, allocations: 0 / 1.288 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.411, allocations: 1.531 kB / 1.288 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.422, allocations: 2.253 MB / 1.29 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/1.423, allocations: 430.1 kB / 1.291 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/1.423, allocations: 8.688 kB / 1.291 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.426, allocations: 401.2 kB / 1.291 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/1.426, allocations: 21.03 kB / 1.291 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/1.426, allocations: 26.5 kB / 1.291 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00278/1.429, allocations: 1.77 MB / 1.293 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.162e-06/1.429, allocations: 0 / 1.293 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001934/1.431, allocations: 0.556 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.0005475/1.431, allocations: 241.1 kB / 1.294 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01854/1.45, allocations: 4.999 MB / 1.299 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.45, allocations: 0 / 1.299 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005057/1.455, allocations: 1.147 MB / 1.3 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.457, allocations: 349 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.02079/1.478, allocations: 5.13 MB / 1.305 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007467/1.479, allocations: 1.426 MB / 1.306 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001824/1.481, allocations: 443.2 kB / 1.307 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/1.481, allocations: 91.36 kB / 1.307 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.412e-06/1.481, allocations: 0 / 1.307 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03616/1.517, allocations: 27.59 MB / 1.334 GB, free: 127.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)