Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008425/0.0008423, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00618/0.00618, allocations: 171.9 kB / 16.26 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.559/1.559, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.724/1.724, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005663/0.0005663, allocations: 20.27 kB / 0.6743 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2706, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002622/0.2733, allocations: 1.966 MB / 0.7898 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2747, allocations: 0.9349 MB / 0.7907 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.2749, allocations: 8 kB / 0.7907 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.2754, allocations: 187.5 kB / 0.7909 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.2755, allocations: 55.64 kB / 0.7909 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.2758, allocations: 83.83 kB / 0.791 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.2761, allocations: 219.1 kB / 0.7912 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.2763, allocations: 93.67 kB / 0.7913 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2764, allocations: 67.53 kB / 0.7914 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.2766, allocations: 91.38 kB / 0.7915 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.2766, allocations: 8 kB / 0.7915 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.2769, allocations: 135.8 kB / 0.7916 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.2771, allocations: 207.3 kB / 0.7918 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.2773, allocations: 267.8 kB / 0.7921 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.278, allocations: 0.6846 MB / 0.7927 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.278, allocations: 4 kB / 0.7927 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.278, allocations: 0 / 0.7927 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.2781, allocations: 0 / 0.7927 GB, free: 6.566 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001183/0.2792, allocations: 0.8779 MB / 0.7936 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2793, allocations: 12.02 kB / 0.7936 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005176/0.2798, allocations: 119.8 kB / 0.7937 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.2805, allocations: 0.5818 MB / 0.7943 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2806, allocations: 8.375 kB / 0.7943 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.2806, allocations: 12.38 kB / 0.7943 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.281, allocations: 198.1 kB / 0.7945 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.281, allocations: 192 / 0.7945 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.281, allocations: 11.94 kB / 0.7945 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.281, allocations: 0 / 0.7945 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.2815, allocations: 227.8 kB / 0.7947 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.2827, allocations: 0.9255 MB / 0.7956 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.2833, allocations: 314.6 kB / 0.7959 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.2836, allocations: 108.8 kB / 0.796 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009509/0.2845, allocations: 408.6 kB / 0.7964 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2846, allocations: 34.56 kB / 0.7965 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.2846, allocations: 0 / 0.7965 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000823/0.2854, allocations: 400.6 kB / 0.7968 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.2855, allocations: 55.41 kB / 0.7969 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.2867, allocations: 0.9935 MB / 0.7979 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2868, allocations: 29.69 kB / 0.7979 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.2871, allocations: 344 kB / 0.7982 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.2872, allocations: 31.55 kB / 0.7983 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.2872, allocations: 17.72 kB / 0.7983 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2873, allocations: 310 kB / 0.7986 GB, free: 364 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.2875, allocations: 100.3 kB / 0.7987 GB, free: 264 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.2878, allocations: 114.5 kB / 0.7988 GB, free: 140 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.2882, allocations: 226.4 kB / 0.799 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2882, allocations: 0 / 0.799 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005426/0.2888, allocations: 328.5 kB / 0.7993 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2888, allocations: 8 kB / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.2888, allocations: 0 / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2888, allocations: 0 / 0.7993 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.289, allocations: 23.98 kB / 0.7993 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.289, allocations: 0 / 0.7993 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.2892, allocations: 19.95 kB / 0.7993 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2892, allocations: 0 / 0.7993 GB, free: 15.53 MB / 0.6231 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.0002658/0.2895, allocations: 253.7 kB / 0.7996 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.2895, allocations: 78.94 kB / 0.7997 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006002/0.2902, allocations: 328.5 kB / 0.8 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2902, allocations: 0 / 0.8 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2902, allocations: 0 / 0.8 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2902, allocations: 4 kB / 0.8 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.2907, allocations: 0.5285 MB / 0.8005 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.2907, allocations: 7.938 kB / 0.8005 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.2909, allocations: 19.98 kB / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2909, allocations: 0 / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2909, allocations: 0 / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2909, allocations: 0 / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2909, allocations: 4.188 kB / 0.8005 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.2915, allocations: 410.4 kB / 0.8009 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.2916, allocations: 180.1 kB / 0.8011 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.2917, allocations: 0 / 0.8011 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.2918, allocations: 15.97 kB / 0.8011 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.2919, allocations: 11.98 kB / 0.8011 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.2919, allocations: 4 kB / 0.8011 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008223/0.2927, allocations: 0.7137 MB / 0.8018 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2927, allocations: 0 / 0.8018 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003517/0.2931, allocations: 75.84 kB / 0.8019 GB, free: 12.82 MB / 0.6231 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.0002095/0.2933, allocations: 115.2 kB / 0.802 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004544/0.2938, allocations: 219.8 kB / 0.8022 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2938, allocations: 0 / 0.8022 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.294, allocations: 104 kB / 0.8023 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.2944, allocations: 59.36 kB / 0.8024 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.2965, allocations: 1.357 MB / 0.8037 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.2971, allocations: 0.9442 MB / 0.8046 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002299/0.2973, allocations: 81.31 kB / 0.8047 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.2975, allocations: 31.91 kB / 0.8047 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2975, allocations: 0 / 0.8047 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of Templates: time 0.01008/0.3075, allocations: 4.137 MB / 0.8088 GB, free: 5.727 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) Environment - environmentSimulation: