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.001033/0.001033, allocations: 97.64 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.008333/0.008333, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 8.875 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3314, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002524/0.334, allocations: 1.958 MB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3353, allocations: 0.9329 MB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.3354, allocations: 0 / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005307/0.3359, allocations: 191.3 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3361, allocations: 55.58 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.3364, allocations: 95.83 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.3366, allocations: 211.2 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3368, allocations: 83.19 kB / 1.078 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.3369, allocations: 75.47 kB / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.337, allocations: 91.42 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.337, allocations: 4 kB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.3373, allocations: 143.8 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.3375, allocations: 195.4 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.3377, allocations: 279.7 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.3383, allocations: 0.6807 MB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3383, allocations: 0 / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.845e-06/0.3383, allocations: 0 / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3383, allocations: 0 / 1.079 GB, free: 2.543 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.001087/0.3394, allocations: 0.8818 MB / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.3395, allocations: 12.03 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.34, allocations: 119.8 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.3408, allocations: 0.5779 MB / 1.081 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3408, allocations: 12.38 kB / 1.081 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3408, allocations: 16.31 kB / 1.081 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.3412, allocations: 194.6 kB / 1.081 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3412, allocations: 192 / 1.081 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3413, allocations: 7.938 kB / 1.081 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3413, allocations: 4 kB / 1.081 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.3417, allocations: 231.9 kB / 1.081 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.3429, allocations: 0.9179 MB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.3436, allocations: 314.5 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3438, allocations: 104.8 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009693/0.3448, allocations: 416.6 kB / 1.083 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.3448, allocations: 30.56 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.3448, allocations: 0 / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0008055/0.3457, allocations: 400.6 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3457, allocations: 55.41 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3468, allocations: 0.9935 MB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3469, allocations: 29.7 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.3472, allocations: 351.9 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3472, allocations: 35.55 kB / 1.085 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.3472, allocations: 9.719 kB / 1.085 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3474, allocations: 310 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.3476, allocations: 99.94 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.3478, allocations: 118.9 kB / 1.085 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.3482, allocations: 222.4 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3482, allocations: 4 kB / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005482/0.3488, allocations: 320.5 kB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3488, allocations: 4 kB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3488, allocations: 0 / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3489, allocations: 4 kB / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.349, allocations: 27.98 kB / 1.086 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.349, allocations: 4 kB / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.3492, allocations: 15.89 kB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3492, allocations: 4 kB / 1.086 GB, free: 11.49 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.0002491/0.3495, allocations: 241.8 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.646e-05/0.3496, allocations: 78.98 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006255/0.3502, allocations: 328.5 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3502, allocations: 0 / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3502, allocations: 4 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3502, allocations: 0 / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.3508, allocations: 0.5323 MB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3508, allocations: 3.938 kB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.351, allocations: 19.98 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.351, allocations: 0 / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.351, allocations: 11.94 kB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.351, allocations: 0 / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.351, allocations: 0 / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.3516, allocations: 402.6 kB / 1.087 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.3518, allocations: 188 kB / 1.087 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.3518, allocations: 8 kB / 1.087 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.352, allocations: 7.984 kB / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.3521, allocations: 7.984 kB / 1.087 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.3521, allocations: 0 / 1.087 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008348/0.3529, allocations: 0.7176 MB / 1.088 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3529, allocations: 0 / 1.088 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000344/0.3533, allocations: 67.91 kB / 1.088 GB, free: 8.801 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.0001959/0.3535, allocations: 123.2 kB / 1.088 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004728/0.354, allocations: 211.8 kB / 1.088 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.354, allocations: 4 kB / 1.088 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.3542, allocations: 108 kB / 1.089 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.3546, allocations: 56.44 kB / 1.089 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.3566, allocations: 1.357 MB / 1.09 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/0.3573, allocations: 0.9482 MB / 1.091 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.3576, allocations: 81.31 kB / 1.091 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.3576, allocations: 27.44 kB / 1.091 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3577, allocations: 4.469 kB / 1.091 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of Templates: time 0.009554/0.3672, allocations: 4.145 MB / 1.095 GB, free: 1.688 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)