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.001765/0.001765, 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.002275/0.002275, allocations: 199 kB / 16.14 MB, free: 6.688 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.524/1.524, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 66.05 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3701, 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.00403/0.3742, allocations: 2.303 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.3758, allocations: 0.9522 MB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.569e-05/0.376, allocations: 0 / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.3766, allocations: 191.3 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.3767, allocations: 59.56 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3771, allocations: 87.83 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.3774, allocations: 219 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.3776, allocations: 89.62 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.3777, allocations: 75.58 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.3779, allocations: 107.4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.3779, allocations: 8 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.3783, allocations: 143.8 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.3785, allocations: 211.3 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3787, allocations: 242.1 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.3794, allocations: 0.7081 MB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3794, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3794, allocations: 4 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3794, 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.001382/0.3808, allocations: 0.9708 MB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3809, allocations: 8.031 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005699/0.3815, allocations: 123.8 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.3822, allocations: 0.5856 MB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3823, allocations: 12.38 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3823, allocations: 12.38 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.3827, allocations: 186.7 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3827, allocations: 8.188 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.3828, allocations: 7.938 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3828, allocations: 7.938 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.3832, allocations: 231.9 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.3846, allocations: 0.9254 MB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.3852, allocations: 310.5 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.3855, allocations: 105 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007934/0.3863, allocations: 248.9 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3863, allocations: 30.56 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 4.739e-06/0.3863, allocations: 4 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0008196/0.3871, allocations: 400.8 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.3872, allocations: 59.33 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3883, allocations: 0.9974 MB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3884, allocations: 25.8 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.3887, allocations: 347.9 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3888, allocations: 31.55 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.3888, allocations: 25.72 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3889, allocations: 310 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3892, allocations: 99.95 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3894, allocations: 114.5 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.3898, allocations: 222.4 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3898, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006387/0.3905, allocations: 320.5 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3905, allocations: 8 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3905, allocations: 0 / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3905, allocations: 0 / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.3907, allocations: 27.92 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3907, allocations: 7.922 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.3909, allocations: 12.06 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3909, allocations: 4 kB / 1.079 GB, free: 14.53 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.0002638/0.3912, allocations: 245.7 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.3913, allocations: 75 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.392, allocations: 332.3 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.392, allocations: 4 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.392, allocations: 4.188 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.392, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.3926, allocations: 0.5285 MB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3926, allocations: 3.938 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.3927, allocations: 23.92 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3927, allocations: 3.984 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3928, allocations: 8 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3928, allocations: 0 / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3928, allocations: 0 / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.3933, allocations: 406.5 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.3936, allocations: 184.1 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.3936, allocations: 0 / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3938, allocations: 8 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.3939, allocations: 7.984 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3939, allocations: 8 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009187/0.3948, allocations: 0.7176 MB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3948, allocations: 0 / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003748/0.3952, allocations: 71.84 kB / 1.082 GB, free: 11.83 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.0002092/0.3954, allocations: 111.2 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.3959, allocations: 215.8 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.396, allocations: 0 / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.3962, allocations: 111.9 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3966, allocations: 62.97 kB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.3986, allocations: 1.328 MB / 1.084 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/0.3992, allocations: 0.9482 MB / 1.085 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.3995, allocations: 77.33 kB / 1.085 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.3996, allocations: 35.42 kB / 1.085 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of SimCode: time 7.32e-07/0.3996, allocations: 0 / 1.085 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of Templates: time 0.01137/0.411, allocations: 4.233 MB / 1.089 GB, free: 4.656 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)