Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001494/0.001494, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.00146/0.00146, allocations: 193.6 kB / 16.13 MB, free: 6.566 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.605 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: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.7 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3558, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003597/0.3595, allocations: 2.186 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.3625, allocations: 1.862 MB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.3626, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007685/0.3634, allocations: 219.2 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3635, allocations: 59.55 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009663/0.3645, allocations: 362.1 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.3649, allocations: 398.7 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3651, allocations: 44.34 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3652, allocations: 135.6 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3654, allocations: 155.5 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.3655, allocations: 16 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.3659, allocations: 231.6 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.366, allocations: 107.7 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.3662, allocations: 167.1 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.3668, allocations: 0.5765 MB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3668, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3668, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3669, allocations: 0 / 1.074 GB, free: 4.391 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.001247/0.3681, allocations: 0.6995 MB / 1.075 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3682, allocations: 11.97 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.3699, allocations: 156.3 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.3704, allocations: 374.2 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3705, allocations: 75.94 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.3706, allocations: 12.38 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.3716, allocations: 443 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3716, allocations: 0 / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.3717, allocations: 4 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.3717, allocations: 4 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.3734, allocations: 0.5855 MB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.3753, allocations: 1.039 MB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.3804, allocations: 0.8495 MB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/0.3812, allocations: 308.6 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3812, allocations: 4 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000984/0.3822, allocations: 450.9 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.545e-06/0.3822, allocations: 0 / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002401/0.3846, allocations: 0.917 MB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3847, allocations: 55.41 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.3852, allocations: 433.6 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.3852, allocations: 33.7 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3854, allocations: 172 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.3854, allocations: 47.36 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.3856, allocations: 53.67 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3857, allocations: 354.7 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/0.3866, allocations: 384.5 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008217/0.3874, allocations: 375.6 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.3889, allocations: 0.5938 MB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3889, allocations: 0 / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001904/0.3908, allocations: 0.9007 MB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.3909, allocations: 47.11 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3909, allocations: 7.922 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3909, allocations: 0 / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.3914, allocations: 63.86 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3914, allocations: 0 / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.3919, allocations: 47.8 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.3919, allocations: 15.92 kB / 1.083 GB, free: 10.7 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.0002987/0.3922, allocations: 186.3 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.3923, allocations: 31.62 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/0.3924, allocations: 43.47 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3924, allocations: 4 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.3924, allocations: 3.984 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3925, allocations: 7.938 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.3931, allocations: 0.5399 MB / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.3931, allocations: 0 / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.3935, allocations: 59.91 kB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3936, allocations: 8 kB / 1.084 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.3936, allocations: 11.98 kB / 1.084 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3936, allocations: 7.938 kB / 1.084 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3936, allocations: 0 / 1.084 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.3953, allocations: 0.6603 MB / 1.085 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.3955, allocations: 164.6 kB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.3956, allocations: 7.984 kB / 1.085 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.396, allocations: 47.94 kB / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3961, allocations: 19.97 kB / 1.085 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.3962, allocations: 7.984 kB / 1.085 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003824/0.3966, allocations: 327 kB / 1.085 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3966, allocations: 0 / 1.085 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004201/0.397, allocations: 80.25 kB / 1.085 GB, free: 8.398 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.0003069/0.3973, allocations: 131.2 kB / 1.085 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.3992, allocations: 0.7545 MB / 1.086 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3992, allocations: 4 kB / 1.086 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.4, allocations: 331.7 kB / 1.086 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.4005, allocations: 69.45 kB / 1.086 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.4024, allocations: 0.8956 MB / 1.087 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.4029, allocations: 0.8146 MB / 1.088 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004464/0.4033, allocations: 98.25 kB / 1.088 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.4035, allocations: 35.41 kB / 1.088 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4035, allocations: 0 / 1.088 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of Templates: time 0.01383/0.4173, allocations: 6.719 MB / 1.095 GB, free: 14.55 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1)