Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.001329, allocations: 192.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 68.3 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2908, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004363/0.2952, allocations: 2.769 MB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.2972, allocations: 1.102 MB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.2974, allocations: 4 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000689/0.2982, allocations: 215 kB / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.2984, allocations: 91.23 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.2988, allocations: 187.7 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.2992, allocations: 403.8 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.2996, allocations: 209.8 kB / 0.7882 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.2998, allocations: 159.2 kB / 0.7884 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.2999, allocations: 187 kB / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.3, allocations: 47.94 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.3003, allocations: 175.8 kB / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.3005, allocations: 263.2 kB / 0.789 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.3008, allocations: 353.6 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.3017, allocations: 0.9534 MB / 0.7903 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3017, allocations: 4 kB / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3017, allocations: 0 / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.3018, allocations: 0 / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001486/0.3032, allocations: 1.15 MB / 0.7914 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3033, allocations: 11.97 kB / 0.7914 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.3046, allocations: 231.5 kB / 0.7916 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.3061, allocations: 0.7425 MB / 0.7924 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.3061, allocations: 21.03 kB / 0.7924 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.3062, allocations: 32.38 kB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008222/0.307, allocations: 386.5 kB / 0.7928 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3071, allocations: 3.938 kB / 0.7928 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.3071, allocations: 16 kB / 0.7928 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3071, allocations: 8 kB / 0.7928 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.3082, allocations: 426.4 kB / 0.7932 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.3115, allocations: 1.795 MB / 0.795 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/0.3123, allocations: 230.5 kB / 0.7952 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.3126, allocations: 88.81 kB / 0.7953 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.3126, allocations: 15.97 kB / 0.7953 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3127, allocations: 38.56 kB / 0.7953 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.3127, allocations: 0 / 0.7953 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001123/0.3138, allocations: 378.8 kB / 0.7957 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3138, allocations: 51.41 kB / 0.7957 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.3152, allocations: 1.267 MB / 0.797 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.3153, allocations: 29.7 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.3156, allocations: 436.3 kB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.3157, allocations: 71.39 kB / 0.7975 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.3158, allocations: 57.61 kB / 0.7975 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3159, allocations: 314 kB / 0.7978 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.3163, allocations: 147.9 kB / 0.798 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3167, allocations: 205.9 kB / 0.7982 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.3173, allocations: 284.1 kB / 0.7984 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3174, allocations: 3.938 kB / 0.7984 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009368/0.3183, allocations: 468.2 kB / 0.7989 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3183, allocations: 8 kB / 0.7989 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3183, allocations: 0 / 0.7989 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3184, allocations: 7.938 kB / 0.7989 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.3187, allocations: 56.09 kB / 0.799 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3187, allocations: 11.92 kB / 0.799 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.319, allocations: 35.67 kB / 0.799 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.3191, allocations: 8 kB / 0.799 GB, free: 13.05 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003175/0.3194, allocations: 274.3 kB / 0.7993 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3195, allocations: 82.97 kB / 0.7994 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009212/0.3204, allocations: 325.8 kB / 0.7997 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.3204, allocations: 11.98 kB / 0.7997 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3205, allocations: 0 / 0.7997 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3205, allocations: 0 / 0.7997 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.3221, allocations: 1.012 MB / 0.8007 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3221, allocations: 4.188 kB / 0.8007 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.3224, allocations: 47.97 kB / 0.8007 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3224, allocations: 4 kB / 0.8007 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.3225, allocations: 7.922 kB / 0.8007 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.3225, allocations: 11.94 kB / 0.8007 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3225, allocations: 4 kB / 0.8007 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008049/0.3233, allocations: 445.8 kB / 0.8012 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.3236, allocations: 211.9 kB / 0.8014 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.3237, allocations: 8 kB / 0.8014 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3239, allocations: 11.98 kB / 0.8014 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.324, allocations: 27.91 kB / 0.8014 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.324, allocations: 8 kB / 0.8014 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00116/0.3252, allocations: 0.915 MB / 0.8023 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3252, allocations: 0 / 0.8023 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004987/0.3257, allocations: 103.8 kB / 0.8024 GB, free: 9.418 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002455/0.326, allocations: 122.4 kB / 0.8025 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008085/0.3268, allocations: 282.2 kB / 0.8028 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3268, allocations: 4.062 kB / 0.8028 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.3272, allocations: 107.8 kB / 0.8029 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.3277, allocations: 64.58 kB / 0.803 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.3303, allocations: 1.415 MB / 0.8043 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.331, allocations: 0.9997 MB / 0.8053 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003898/0.3314, allocations: 104.7 kB / 0.8054 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3315, allocations: 39.44 kB / 0.8055 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of SimCode: time 1.032e-06/0.3315, allocations: 0 / 0.8055 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of Templates: time 0.01325/0.3448, allocations: 5.547 MB / 0.8109 GB, free: 0.6758 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)