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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 109.4 kB / 15.69 MB, free: 128 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.001203/0.001203, allocations: 188 kB / 16.62 MB, free: 6.613 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.356/1.356, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.714/1.714, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001544/0.001544, allocations: 70.14 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.238, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004554/0.2427, allocations: 2.777 MB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.2445, allocations: 1.09 MB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.2448, allocations: 8 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.2455, allocations: 215 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.2457, allocations: 87.23 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.2462, allocations: 183.7 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004649/0.2467, allocations: 418.9 kB / 0.7883 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.247, allocations: 221.8 kB / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.2473, allocations: 163.2 kB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.2475, allocations: 179 kB / 0.7888 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.2475, allocations: 44 kB / 0.7889 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.2479, allocations: 179.7 kB / 0.789 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.2481, allocations: 251.2 kB / 0.7893 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.2484, allocations: 361.6 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2494, allocations: 0.9922 MB / 0.7906 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.2495, allocations: 0 / 0.7906 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2495, allocations: 0 / 0.7906 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.2495, allocations: 0 / 0.7906 GB, free: 6.074 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.001665/0.2512, allocations: 1.135 MB / 0.7917 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.2512, allocations: 19.97 kB / 0.7917 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.063e-05/0.2513, allocations: 66.72 kB / 0.7918 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.2526, allocations: 235.5 kB / 0.792 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.2541, allocations: 0.7386 MB / 0.7927 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.2541, allocations: 25.03 kB / 0.7927 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.2542, allocations: 32.31 kB / 0.7928 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009429/0.2551, allocations: 386.3 kB / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2551, allocations: 0 / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.2552, allocations: 20 kB / 0.7932 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.2552, allocations: 8 kB / 0.7932 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2562, allocations: 418.4 kB / 0.7936 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.2595, allocations: 1.788 MB / 0.7953 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.2603, allocations: 230.7 kB / 0.7955 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.2606, allocations: 92.8 kB / 0.7956 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.2606, allocations: 12.05 kB / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.2607, allocations: 46.56 kB / 0.7957 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 2.464e-06/0.2607, allocations: 0 / 0.7957 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001156/0.2618, allocations: 380.2 kB / 0.796 GB, free: 244 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.2619, allocations: 51.41 kB / 0.7961 GB, free: 180 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.2634, allocations: 1.267 MB / 0.7973 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.2635, allocations: 29.7 kB / 0.7974 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.2638, allocations: 428.3 kB / 0.7978 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.2639, allocations: 71 kB / 0.7978 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.264, allocations: 53.7 kB / 0.7979 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2641, allocations: 314 kB / 0.7982 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.2645, allocations: 143.9 kB / 0.7983 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.265, allocations: 209.9 kB / 0.7985 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.2656, allocations: 287.8 kB / 0.7988 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2657, allocations: 0 / 0.7988 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009897/0.2667, allocations: 474.6 kB / 0.7992 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2667, allocations: 4 kB / 0.7992 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.577e-06/0.2667, allocations: 7.938 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2667, allocations: 0 / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.2671, allocations: 64.02 kB / 0.7993 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2671, allocations: 4 kB / 0.7993 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.2674, allocations: 35.67 kB / 0.7994 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.2674, allocations: 16 kB / 0.7994 GB, free: 12.73 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.0003307/0.2678, allocations: 270.3 kB / 0.7996 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2679, allocations: 86.88 kB / 0.7997 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008706/0.2688, allocations: 332.3 kB / 0.8 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2688, allocations: 8 kB / 0.8 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2688, allocations: 0 / 0.8 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2688, allocations: 0 / 0.8 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.2706, allocations: 1.008 MB / 0.801 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.2706, allocations: 4 kB / 0.801 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.2709, allocations: 56.02 kB / 0.8011 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.271, allocations: 0 / 0.8011 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.271, allocations: 11.94 kB / 0.8011 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.271, allocations: 4 kB / 0.8011 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.271, allocations: 0 / 0.8011 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008171/0.2718, allocations: 447.7 kB / 0.8015 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.2721, allocations: 203.9 kB / 0.8017 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.2722, allocations: 11.98 kB / 0.8017 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.2725, allocations: 15.98 kB / 0.8017 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.2725, allocations: 23.92 kB / 0.8018 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.2726, allocations: 8 kB / 0.8018 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001138/0.2737, allocations: 0.915 MB / 0.8027 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2737, allocations: 0 / 0.8027 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004853/0.2742, allocations: 103.8 kB / 0.8028 GB, free: 9.094 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.001306/0.2755, allocations: 0.9986 MB / 0.8037 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00076/0.2763, allocations: 283.7 kB / 0.804 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2763, allocations: 0 / 0.804 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.2766, allocations: 108.1 kB / 0.8041 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.2771, allocations: 68.16 kB / 0.8042 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.2877, allocations: 7.299 MB / 0.8113 GB, free: 116 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/0.2884, allocations: 1.004 MB / 0.8123 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003464/0.2888, allocations: 100.7 kB / 0.8124 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.2892, allocations: 287.3 kB / 0.8127 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/0.2892, allocations: 4 kB / 0.8127 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.3249, allocations: 13.65 MB / 0.826 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.101/9.426, allocations: 3.75 kB / 0.826 GB, free: 1.215 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)