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.001358/0.001358, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001506/0.001507, allocations: 190.2 kB / 16.25 MB, free: 6.641 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.77 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3891, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003628/0.3928, allocations: 2.189 MB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002617/0.3954, allocations: 1.831 MB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.19e-05/0.3955, allocations: 0 / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.3962, allocations: 223.2 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.3963, allocations: 55.53 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/0.3973, allocations: 400.5 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.3977, allocations: 410.8 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3979, allocations: 40.38 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.398, allocations: 155.6 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3982, allocations: 155.4 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.3983, allocations: 28 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.3987, allocations: 239.7 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3988, allocations: 119.6 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.399, allocations: 167.2 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.3996, allocations: 0.5998 MB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3996, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3996, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.3996, allocations: 0 / 1.074 GB, free: 4.207 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.001197/0.4008, allocations: 0.6944 MB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4009, allocations: 16.03 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.4026, allocations: 160.3 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.4031, allocations: 366.3 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.4032, allocations: 75.94 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/0.4032, allocations: 16.31 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000987/0.4042, allocations: 443 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.4042, allocations: 4 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.4043, allocations: 4 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4043, allocations: 0 / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.4058, allocations: 0.5855 MB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.4076, allocations: 1.039 MB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004817/0.4124, allocations: 0.8456 MB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000704/0.4132, allocations: 308.6 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.4132, allocations: 8 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/0.4142, allocations: 452.9 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4142, allocations: 0 / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002394/0.4166, allocations: 0.9148 MB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4166, allocations: 59.39 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.4171, allocations: 425.6 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.4172, allocations: 41.62 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4173, allocations: 168 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.4174, allocations: 47.36 kB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.4175, allocations: 57.67 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4177, allocations: 350.7 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008417/0.4185, allocations: 388.5 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/0.4193, allocations: 375.6 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.4207, allocations: 0.5935 MB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4208, allocations: 4 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001827/0.4226, allocations: 0.8941 MB / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.4227, allocations: 41.69 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4227, allocations: 0 / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4227, allocations: 0 / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.4231, allocations: 71.84 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4232, allocations: 0 / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.4235, allocations: 47.8 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.4236, allocations: 19.92 kB / 1.083 GB, free: 10.51 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.0002295/0.4238, allocations: 188.4 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.4239, allocations: 31.62 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.424, allocations: 35.47 kB / 1.084 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.424, allocations: 8 kB / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.424, allocations: 0 / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.424, allocations: 3.984 kB / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.4246, allocations: 0.5477 MB / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4246, allocations: 0 / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.425, allocations: 67.86 kB / 1.084 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.425, allocations: 4 kB / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.4251, allocations: 7.984 kB / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4251, allocations: 0 / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4251, allocations: 3.984 kB / 1.084 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.4266, allocations: 0.6538 MB / 1.085 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.4268, allocations: 164.6 kB / 1.085 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/0.4269, allocations: 11.98 kB / 1.085 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.4273, allocations: 55.88 kB / 1.085 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.4274, allocations: 15.92 kB / 1.085 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.4275, allocations: 11.98 kB / 1.085 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000316/0.4278, allocations: 323 kB / 1.085 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4278, allocations: 0 / 1.085 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003541/0.4282, allocations: 84.23 kB / 1.085 GB, free: 8.215 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.0002609/0.4284, allocations: 131.2 kB / 1.086 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.4302, allocations: 0.7695 MB / 1.086 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4302, allocations: 4 kB / 1.086 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.431, allocations: 333.6 kB / 1.087 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.4314, allocations: 75.17 kB / 1.087 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.4331, allocations: 0.9017 MB / 1.088 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.4335, allocations: 0.8142 MB / 1.088 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004316/0.434, allocations: 98.25 kB / 1.088 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.4341, allocations: 35.41 kB / 1.089 GB, free: 5 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.4341, allocations: 4 kB / 1.089 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of Templates: time 0.0132/0.4473, allocations: 6.948 MB / 1.095 GB, free: 14.12 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)