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.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001239/0.001239, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.59 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3816, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.005618/0.3872, allocations: 2.199 MB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.3902, allocations: 1.854 MB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.3904, allocations: 4 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.3912, allocations: 223.2 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.3913, allocations: 51.55 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3924, allocations: 376.4 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.393, allocations: 390.8 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3931, allocations: 36.41 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.3933, allocations: 143.6 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.3935, allocations: 155.4 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.3936, allocations: 16 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.3941, allocations: 223.7 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.3942, allocations: 111.7 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.3944, allocations: 159.2 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.3952, allocations: 0.5842 MB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3952, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3952, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3952, allocations: 0 / 1.074 GB, free: 4.453 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.001299/0.3965, allocations: 0.6945 MB / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3966, allocations: 8.031 kB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.3984, allocations: 164.3 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.3991, allocations: 362.3 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.3992, allocations: 79.94 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.3993, allocations: 8.375 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.4004, allocations: 445.3 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4004, allocations: 3.938 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.4005, allocations: 4 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4005, allocations: 4 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.4021, allocations: 0.5816 MB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.404, allocations: 1.039 MB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005363/0.4094, allocations: 0.865 MB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000822/0.4103, allocations: 308.7 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.4103, allocations: 4 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.4113, allocations: 439 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 3.276e-06/0.4114, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002594/0.414, allocations: 0.9247 MB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.414, allocations: 55.39 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.4146, allocations: 429.6 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.4146, allocations: 37.69 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.4148, allocations: 176 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.4149, allocations: 43.36 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.415, allocations: 57.67 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002911/0.4153, allocations: 350.7 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/0.4163, allocations: 380.6 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/0.4171, allocations: 376.9 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.4187, allocations: 0.6019 MB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4187, allocations: 0 / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001976/0.4207, allocations: 0.8968 MB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.4208, allocations: 45.69 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4208, allocations: 0 / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4208, allocations: 0 / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.4213, allocations: 63.91 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4213, allocations: 3.938 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.4218, allocations: 51.8 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.4218, allocations: 11.92 kB / 1.083 GB, free: 10.76 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.0002967/0.4222, allocations: 186.3 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.4223, allocations: 39.62 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/0.4224, allocations: 43.47 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4224, allocations: 0 / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4224, allocations: 4 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4224, allocations: 3.984 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.4231, allocations: 0.5399 MB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4231, allocations: 0 / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.4236, allocations: 63.86 kB / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4236, allocations: 4 kB / 1.084 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.4237, allocations: 7.984 kB / 1.084 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4237, allocations: 11.97 kB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4237, allocations: 0 / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.4254, allocations: 0.6564 MB / 1.085 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.4257, allocations: 160.6 kB / 1.085 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.4258, allocations: 7.984 kB / 1.085 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.4263, allocations: 47.94 kB / 1.085 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4264, allocations: 23.91 kB / 1.085 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.4264, allocations: 11.92 kB / 1.085 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004318/0.4269, allocations: 323.1 kB / 1.085 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4269, allocations: 0 / 1.085 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004625/0.4273, allocations: 84.23 kB / 1.085 GB, free: 8.461 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.0003027/0.4277, allocations: 135.1 kB / 1.085 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.4295, allocations: 0.7582 MB / 1.086 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4295, allocations: 3.938 kB / 1.086 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008405/0.4303, allocations: 325.2 kB / 1.086 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.4309, allocations: 71.05 kB / 1.086 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.4327, allocations: 0.8917 MB / 1.087 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.4333, allocations: 0.8146 MB / 1.088 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004471/0.4337, allocations: 98.25 kB / 1.088 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.4339, allocations: 31.41 kB / 1.088 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.4339, allocations: 0 / 1.088 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of Templates: time 0.01315/0.4471, allocations: 6.734 MB / 1.095 GB, free: 14.61 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)