Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002177/0.002177, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.576/1.576, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 68.83 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3957, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.005488/0.4013, allocations: 2.297 MB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.4035, allocations: 0.956 MB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.4037, allocations: 4 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.4046, allocations: 187.3 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.4048, allocations: 55.62 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.4053, allocations: 91.83 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.4057, allocations: 215 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.406, allocations: 94.7 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.4062, allocations: 75.59 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.4064, allocations: 103.4 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.4064, allocations: 12 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.4069, allocations: 147.8 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.4072, allocations: 199.3 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.4075, allocations: 262 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.4085, allocations: 0.6926 MB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4085, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4085, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.4086, allocations: 0 / 1.073 GB, free: 5.52 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001852/0.4104, allocations: 0.9786 MB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.4105, allocations: 8.031 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008251/0.4113, allocations: 115.8 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.4126, allocations: 0.5935 MB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.4127, allocations: 8.375 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.4127, allocations: 8.375 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.4133, allocations: 190.7 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4133, allocations: 4.125 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.4134, allocations: 11.92 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4134, allocations: 4 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.4141, allocations: 231.9 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.4159, allocations: 0.9215 MB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.4169, allocations: 314.5 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.4172, allocations: 105 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.4183, allocations: 248.8 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.4183, allocations: 30.56 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.665e-06/0.4183, allocations: 4 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001262/0.4196, allocations: 404.8 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.4197, allocations: 55.41 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.4215, allocations: 0.9974 MB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.4215, allocations: 25.7 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.422, allocations: 348 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.422, allocations: 31.55 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/0.4222, allocations: 25.7 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4223, allocations: 314 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.4226, allocations: 95.95 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.4229, allocations: 126.5 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.4235, allocations: 218.4 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4235, allocations: 4 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007644/0.4243, allocations: 324.5 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4243, allocations: 4 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4244, allocations: 0 / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.4244, allocations: 7.938 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.4246, allocations: 23.97 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.4247, allocations: 7.984 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.4249, allocations: 8 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.4249, allocations: 7.984 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0003613/0.4253, allocations: 249.8 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.4255, allocations: 75 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/0.4263, allocations: 332.5 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4264, allocations: 0 / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4264, allocations: 3.938 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4264, allocations: 4 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.4272, allocations: 0.5207 MB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4272, allocations: 11.92 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.4274, allocations: 19.98 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4274, allocations: 0 / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4275, allocations: 4 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4275, allocations: 0 / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4275, allocations: 0 / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.4283, allocations: 406.5 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.4286, allocations: 184.1 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.4287, allocations: 4 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.429, allocations: 7.984 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.429, allocations: 4 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.429, allocations: 0 / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001341/0.4304, allocations: 0.7254 MB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4304, allocations: 4 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006251/0.431, allocations: 71.84 kB / 1.082 GB, free: 11.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003002/0.4314, allocations: 115.2 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007314/0.4321, allocations: 215.9 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4321, allocations: 3.938 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.4324, allocations: 107.9 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.4332, allocations: 51.81 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.436, allocations: 1.332 MB / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.4371, allocations: 0.9482 MB / 1.085 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004569/0.4375, allocations: 89.31 kB / 1.085 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4377, allocations: 31.44 kB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.4377, allocations: 0 / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of Templates: time 0.01691/0.4546, allocations: 4.219 MB / 1.089 GB, free: 4.648 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)