Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008945/0.0008944, allocations: 97.48 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.00731/0.00731, allocations: 170 kB / 16.27 MB, free: 6.324 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.466/1.466, 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.988/2.988, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 10.34 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002634/0.3804, allocations: 1.958 MB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3818, allocations: 0.9367 MB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.3819, allocations: 4 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.3824, allocations: 187.3 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.3825, allocations: 55.61 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3828, allocations: 91.83 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.3831, allocations: 215 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.3833, allocations: 85.62 kB / 1.078 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3834, allocations: 71.53 kB / 1.078 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3835, allocations: 91.42 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.3836, allocations: 8 kB / 1.078 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.3839, allocations: 139.8 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.3841, allocations: 191.4 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.3843, allocations: 275.8 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.3848, allocations: 0.6963 MB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3848, allocations: 0 / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3849, allocations: 0 / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3849, allocations: 0 / 1.079 GB, free: 2.559 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.001044/0.3859, allocations: 0.8701 MB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.386, allocations: 8.031 kB / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005297/0.3865, allocations: 127.8 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/0.3872, allocations: 0.5896 MB / 1.081 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3873, allocations: 4.375 kB / 1.081 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3873, allocations: 12.38 kB / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.3877, allocations: 198.6 kB / 1.081 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3877, allocations: 192 / 1.081 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.3877, allocations: 7.938 kB / 1.081 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3878, allocations: 4 kB / 1.081 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.3882, allocations: 231.9 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.3894, allocations: 0.9139 MB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.39, allocations: 318.5 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.3903, allocations: 100.8 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009375/0.3912, allocations: 408.7 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3912, allocations: 38.55 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 2.565e-06/0.3912, allocations: 3.938 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0008184/0.3921, allocations: 400.5 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.3921, allocations: 59.34 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.3932, allocations: 0.9935 MB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3933, allocations: 29.7 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.3936, allocations: 348 kB / 1.084 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3936, allocations: 31.55 kB / 1.085 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.3936, allocations: 13.72 kB / 1.085 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3938, allocations: 314 kB / 1.085 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.394, allocations: 99.94 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.3942, allocations: 114.5 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.3946, allocations: 230.7 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3946, allocations: 0 / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005457/0.3952, allocations: 316.5 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3952, allocations: 4 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3952, allocations: 7.984 kB / 1.086 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3952, allocations: 0 / 1.086 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3954, allocations: 27.92 kB / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3954, allocations: 0 / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3956, allocations: 19.95 kB / 1.086 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3956, allocations: 4 kB / 1.086 GB, free: 11.51 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.0002479/0.3958, allocations: 241.8 kB / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.3959, allocations: 75 kB / 1.086 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.3966, allocations: 328.4 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3966, allocations: 8 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3966, allocations: 0 / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3966, allocations: 0 / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.3972, allocations: 0.5324 MB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3972, allocations: 7.875 kB / 1.087 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3973, allocations: 23.92 kB / 1.087 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3973, allocations: 0 / 1.087 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3974, allocations: 0 / 1.087 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3974, allocations: 0 / 1.087 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3974, allocations: 0 / 1.087 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.398, allocations: 406.6 kB / 1.087 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.3982, allocations: 184.2 kB / 1.087 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.3982, allocations: 7.938 kB / 1.087 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.3984, allocations: 11.98 kB / 1.087 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.3985, allocations: 4 kB / 1.087 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.3985, allocations: 7.984 kB / 1.087 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009039/0.3994, allocations: 0.7215 MB / 1.088 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3994, allocations: 0 / 1.088 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003716/0.3998, allocations: 67.91 kB / 1.088 GB, free: 8.812 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.000231/0.4, allocations: 115.2 kB / 1.088 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.4005, allocations: 215.8 kB / 1.088 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4006, allocations: 0 / 1.088 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.4008, allocations: 107.9 kB / 1.089 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.4012, allocations: 56.12 kB / 1.089 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.4031, allocations: 1.353 MB / 1.09 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.4037, allocations: 0.9482 MB / 1.091 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002311/0.4039, allocations: 85.25 kB / 1.091 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.404, allocations: 31.44 kB / 1.091 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.404, allocations: 0 / 1.091 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of Templates: time 0.01006/0.4141, allocations: 4.13 MB / 1.095 GB, free: 1.723 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)