Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7451 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 60.61 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3902, allocations: 159.9 MB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003597/0.3939, allocations: 2.138 MB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.3966, allocations: 1.858 MB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.3968, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007033/0.3975, allocations: 230.9 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.3977, allocations: 59.42 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3987, allocations: 420.6 kB / 1.073 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000484/0.3992, allocations: 410.8 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3994, allocations: 40.38 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3995, allocations: 155.6 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.3997, allocations: 155.4 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.3998, allocations: 28 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003957/0.4002, allocations: 239.7 kB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.4004, allocations: 115.7 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.4006, allocations: 171.1 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.4012, allocations: 0.5881 MB / 1.075 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4012, allocations: 4 kB / 1.075 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4012, allocations: 0 / 1.075 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4012, allocations: 0 / 1.075 GB, free: 3.938 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001055/0.4023, allocations: 0.6983 MB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.4023, allocations: 8.031 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.404, allocations: 164.3 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.4044, allocations: 370.2 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.574e-05/0.4046, allocations: 75.89 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.4046, allocations: 8.375 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4056, allocations: 451.3 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4056, allocations: 0 / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.4057, allocations: 0 / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4057, allocations: 4 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.4073, allocations: 0.5855 MB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.4091, allocations: 1.039 MB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004927/0.414, allocations: 0.8495 MB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007431/0.4148, allocations: 308.7 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.4148, allocations: 4 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009684/0.4158, allocations: 447.6 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.003e-06/0.4158, allocations: 0 / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002499/0.4183, allocations: 0.9169 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4184, allocations: 55.41 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.4189, allocations: 433.6 kB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.4189, allocations: 33.7 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.4191, allocations: 172 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.4192, allocations: 51.34 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.4193, allocations: 53.67 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4195, allocations: 354.7 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008643/0.4203, allocations: 380.5 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008545/0.4212, allocations: 375.6 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.4228, allocations: 0.5973 MB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4228, allocations: 0 / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001986/0.4248, allocations: 0.9018 MB / 1.084 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.4248, allocations: 45.69 kB / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4249, allocations: 0 / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4249, allocations: 0 / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.4254, allocations: 71.86 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.4254, allocations: 0 / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.4258, allocations: 43.8 kB / 1.084 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.4258, allocations: 15.92 kB / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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 prepare postOptimizeDAE: time 0.0002457/0.4261, allocations: 199.2 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.4262, allocations: 31.62 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/0.4263, allocations: 47.45 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4263, allocations: 0 / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4263, allocations: 0 / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4263, allocations: 4 kB / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.4268, allocations: 0.536 MB / 1.085 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4268, allocations: 4 kB / 1.085 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.4273, allocations: 71.78 kB / 1.085 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4273, allocations: 0 / 1.085 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.4273, allocations: 11.98 kB / 1.085 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4273, allocations: 0 / 1.085 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4274, allocations: 4 kB / 1.085 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.429, allocations: 0.6564 MB / 1.085 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.4292, allocations: 164.6 kB / 1.085 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.4293, allocations: 8 kB / 1.085 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.4298, allocations: 47.88 kB / 1.086 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.4298, allocations: 19.97 kB / 1.086 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.4299, allocations: 11.98 kB / 1.086 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003261/0.4302, allocations: 323 kB / 1.086 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4302, allocations: 3.938 kB / 1.086 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003611/0.4306, allocations: 84.25 kB / 1.086 GB, free: 7.941 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * 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: 0 * Record equations: 0 * When equations: 2 * 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.0002653/0.4309, allocations: 127.2 kB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.4327, allocations: 0.7831 MB / 1.087 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4327, allocations: 0 / 1.087 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008612/0.4336, allocations: 327.7 kB / 1.087 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.434, allocations: 83.31 kB / 1.087 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.4358, allocations: 0.8159 MB / 1.088 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.4362, allocations: 0.8219 MB / 1.089 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000417/0.4366, allocations: 102.2 kB / 1.089 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.4367, allocations: 27.42 kB / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.4367, allocations: 0 / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of Templates: time 0.01231/0.4491, allocations: 7.127 MB / 1.096 GB, free: 13.74 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1)