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.001245/0.001245, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001226/0.001227, allocations: 196 kB / 16.91 MB, free: 6.191 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.396/1.396, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.709/1.709, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001425/0.001425, allocations: 65.11 kB / 0.6717 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2438, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004038/0.2479, allocations: 2.807 MB / 0.7863 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2499, allocations: 1.071 MB / 0.7873 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.2503, allocations: 4 kB / 0.7873 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.2509, allocations: 199.3 kB / 0.7875 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.2511, allocations: 67.52 kB / 0.7876 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.2516, allocations: 163.7 kB / 0.7877 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.2521, allocations: 419.8 kB / 0.7881 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.2525, allocations: 217.8 kB / 0.7883 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.2526, allocations: 155.2 kB / 0.7885 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2528, allocations: 195 kB / 0.7887 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.612e-05/0.2529, allocations: 44 kB / 0.7887 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.2532, allocations: 167.8 kB / 0.7889 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.2534, allocations: 271.1 kB / 0.7891 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.2537, allocations: 353.6 kB / 0.7895 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.2544, allocations: 0.7677 MB / 0.7902 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2544, allocations: 0 / 0.7902 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2544, allocations: 0 / 0.7902 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.2544, allocations: 8 kB / 0.7902 GB, free: 6.977 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.001441/0.2559, allocations: 1.143 MB / 0.7913 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2559, allocations: 8.031 kB / 0.7913 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.2572, allocations: 235.5 kB / 0.7916 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.2585, allocations: 0.7386 MB / 0.7923 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.2586, allocations: 25.03 kB / 0.7923 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.2586, allocations: 28.38 kB / 0.7923 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000846/0.2595, allocations: 382.5 kB / 0.7927 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2595, allocations: 3.938 kB / 0.7927 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.2596, allocations: 16 kB / 0.7927 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.2596, allocations: 8 kB / 0.7927 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009443/0.2605, allocations: 422.3 kB / 0.7931 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.2638, allocations: 1.799 MB / 0.7949 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/0.2645, allocations: 226.6 kB / 0.7951 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.2648, allocations: 96.75 kB / 0.7952 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.2648, allocations: 7.984 kB / 0.7952 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2649, allocations: 34.56 kB / 0.7952 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 2.274e-06/0.2649, allocations: 3.938 kB / 0.7952 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001112/0.266, allocations: 376.3 kB / 0.7956 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.266, allocations: 51.41 kB / 0.7956 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.2674, allocations: 1.271 MB / 0.7969 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.2675, allocations: 29.7 kB / 0.7969 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.2678, allocations: 432.3 kB / 0.7973 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.2679, allocations: 67.39 kB / 0.7974 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/0.268, allocations: 53.61 kB / 0.7974 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2681, allocations: 318 kB / 0.7977 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.2684, allocations: 151.9 kB / 0.7979 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.2688, allocations: 201.9 kB / 0.7981 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.2694, allocations: 280.1 kB / 0.7983 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.2694, allocations: 0 / 0.7983 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008969/0.2704, allocations: 476.1 kB / 0.7988 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2704, allocations: 4.938 kB / 0.7988 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2704, allocations: 8.156 kB / 0.7988 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2704, allocations: 3.938 kB / 0.7988 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.2707, allocations: 55.91 kB / 0.7989 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2708, allocations: 7.984 kB / 0.7989 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.2711, allocations: 35.67 kB / 0.7989 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.2711, allocations: 12 kB / 0.7989 GB, free: 13.71 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.0003195/0.2714, allocations: 274.3 kB / 0.7992 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2715, allocations: 82.97 kB / 0.7993 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008219/0.2724, allocations: 344.3 kB / 0.7996 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2724, allocations: 4 kB / 0.7996 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2724, allocations: 0 / 0.7996 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2724, allocations: 0 / 0.7996 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.274, allocations: 1.007 MB / 0.8006 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.274, allocations: 8 kB / 0.8006 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.2743, allocations: 43.91 kB / 0.8006 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2743, allocations: 3.984 kB / 0.8006 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.2743, allocations: 8 kB / 0.8006 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.2743, allocations: 4 kB / 0.8006 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2743, allocations: 4.094 kB / 0.8007 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/0.2751, allocations: 439.7 kB / 0.8011 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.2753, allocations: 211.8 kB / 0.8013 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.2754, allocations: 8 kB / 0.8013 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.2757, allocations: 23.97 kB / 0.8013 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.2757, allocations: 23.86 kB / 0.8013 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2757, allocations: 12 kB / 0.8013 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009936/0.2767, allocations: 0.915 MB / 0.8022 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2768, allocations: 0 / 0.8022 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004324/0.2772, allocations: 103.8 kB / 0.8023 GB, free: 10.07 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.0002229/0.2774, allocations: 115.2 kB / 0.8024 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007499/0.2782, allocations: 285.9 kB / 0.8027 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2782, allocations: 0 / 0.8027 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.2785, allocations: 116.5 kB / 0.8028 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.279, allocations: 64.2 kB / 0.8029 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.2816, allocations: 1.697 MB / 0.8045 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.2823, allocations: 0.9985 MB / 0.8055 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.2824, allocations: 51.42 kB / 0.8056 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.2825, allocations: 0 / 0.8056 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of Templates: time 0.01319/0.2956, allocations: 9.097 MB / 0.8144 GB, free: 13.61 MB / 0.6387 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)