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.0008084/0.0008117, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005885/0.005885, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003732, allocations: 10.78 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3626, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002446/0.3651, allocations: 1.847 MB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.3678, allocations: 1.823 MB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.3679, allocations: 4 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.3686, allocations: 219.2 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3688, allocations: 59.55 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.3697, allocations: 372.3 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.3701, allocations: 390.8 kB / 1.079 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3703, allocations: 32.34 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.3704, allocations: 139.6 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.3706, allocations: 159.4 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.3707, allocations: 16 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.3711, allocations: 219.7 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3712, allocations: 107.7 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.3715, allocations: 184.9 kB / 1.08 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.3721, allocations: 0.5723 MB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3721, allocations: 0 / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3721, allocations: 0 / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3721, allocations: 0 / 1.08 GB, free: 1.383 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.00111/0.3733, allocations: 0.6479 MB / 1.081 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3733, allocations: 16.03 kB / 1.081 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.375, allocations: 160.4 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.3755, allocations: 366.2 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3756, allocations: 75.95 kB / 1.081 GB, free: 28 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.3757, allocations: 12.38 kB / 1.081 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3767, allocations: 463.3 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3767, allocations: 0 / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.3768, allocations: 11.98 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3768, allocations: 7.828 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.3784, allocations: 0.6168 MB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.3804, allocations: 1.058 MB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005012/0.3855, allocations: 0.9158 MB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.3863, allocations: 332.6 kB / 1.085 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3863, allocations: 7.984 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000997/0.3873, allocations: 459 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/0.3873, allocations: 0 / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002569/0.3899, allocations: 0.9836 MB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.3899, allocations: 51.41 kB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.3904, allocations: 433.6 kB / 1.087 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.3905, allocations: 33.7 kB / 1.087 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.3906, allocations: 175.9 kB / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.3907, allocations: 51.34 kB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.3907, allocations: 25.72 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3909, allocations: 350.7 kB / 1.087 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008869/0.3918, allocations: 396.6 kB / 1.087 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.3926, allocations: 391.7 kB / 1.088 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.3942, allocations: 0.6438 MB / 1.088 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3942, allocations: 3.938 kB / 1.088 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00202/0.3963, allocations: 0.9418 MB / 1.089 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.3963, allocations: 45.69 kB / 1.089 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3963, allocations: 0 / 1.089 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3963, allocations: 0 / 1.089 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.3968, allocations: 71.92 kB / 1.09 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3968, allocations: 0 / 1.09 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.3973, allocations: 59.8 kB / 1.09 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.3973, allocations: 15.92 kB / 1.09 GB, free: 7.383 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.0002565/0.3976, allocations: 190.3 kB / 1.09 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.3977, allocations: 31.62 kB / 1.09 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.226e-05/0.3977, allocations: 47.45 kB / 1.09 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3978, allocations: 4 kB / 1.09 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3978, allocations: 0 / 1.09 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3978, allocations: 0 / 1.09 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.3983, allocations: 0.5399 MB / 1.09 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3983, allocations: 0 / 1.09 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.3988, allocations: 75.91 kB / 1.09 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3988, allocations: 3.938 kB / 1.09 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.3988, allocations: 11.98 kB / 1.09 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3988, allocations: 0 / 1.09 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3988, allocations: 4 kB / 1.09 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.4005, allocations: 0.6955 MB / 1.091 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.4007, allocations: 168.6 kB / 1.091 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.4008, allocations: 8 kB / 1.091 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.4012, allocations: 55.94 kB / 1.091 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.4013, allocations: 19.97 kB / 1.091 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.4014, allocations: 15.98 kB / 1.091 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000325/0.4017, allocations: 323 kB / 1.092 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4017, allocations: 0 / 1.092 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003622/0.4021, allocations: 84.16 kB / 1.092 GB, free: 5.027 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.000268/0.4024, allocations: 138.8 kB / 1.092 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.4042, allocations: 0.7958 MB / 1.093 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4042, allocations: 4 kB / 1.093 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.405, allocations: 339.7 kB / 1.093 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.4055, allocations: 86.78 kB / 1.093 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.4072, allocations: 0.9169 MB / 1.094 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4076, allocations: 0.8107 MB / 1.095 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004084/0.408, allocations: 90.27 kB / 1.095 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.4082, allocations: 31.41 kB / 1.095 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of SimCode: time 6.72e-07/0.4082, allocations: 0 / 1.095 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of Templates: time 0.01173/0.4199, allocations: 6.662 MB / 1.101 GB, free: 11.16 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)