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.001172/0.001172, allocations: 105.4 kB / 15.7 MB, free: 24 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.001297/0.001297, allocations: 188.3 kB / 16.64 MB, free: 6.594 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.462/1.462, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.932/1.932, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001574/0.001575, allocations: 71.97 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.296, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003508/0.2996, allocations: 2.264 MB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.301, allocations: 0.9462 MB / 0.7873 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3011, allocations: 4 kB / 0.7873 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.3017, allocations: 191 kB / 0.7875 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.3018, allocations: 71.44 kB / 0.7875 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3021, allocations: 111.7 kB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.3024, allocations: 231 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.3026, allocations: 89.67 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3027, allocations: 79.59 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3028, allocations: 107.4 kB / 0.7881 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.3029, allocations: 19.94 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.3032, allocations: 159.8 kB / 0.7883 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.3033, allocations: 207.3 kB / 0.7885 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.3035, allocations: 266 kB / 0.7887 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.3042, allocations: 0.716 MB / 0.7894 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3042, allocations: 0 / 0.7894 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3042, allocations: 0 / 0.7894 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.3042, allocations: 0 / 0.7894 GB, free: 7.301 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.001171/0.3054, allocations: 0.9824 MB / 0.7904 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3054, allocations: 8.031 kB / 0.7904 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005113/0.3059, allocations: 111.9 kB / 0.7905 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.3067, allocations: 0.6012 MB / 0.7911 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3067, allocations: 4.375 kB / 0.7911 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3067, allocations: 12.38 kB / 0.7911 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.3071, allocations: 194.2 kB / 0.7913 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3071, allocations: 4.188 kB / 0.7913 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.3072, allocations: 15.92 kB / 0.7913 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3072, allocations: 0 / 0.7913 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.3076, allocations: 231.8 kB / 0.7915 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.309, allocations: 0.9216 MB / 0.7924 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.3097, allocations: 314.5 kB / 0.7927 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.31, allocations: 108.9 kB / 0.7928 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006861/0.3107, allocations: 244.9 kB / 0.7931 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3107, allocations: 34.56 kB / 0.7931 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3107, allocations: 0 / 0.7931 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0007826/0.3115, allocations: 400.5 kB / 0.7935 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3115, allocations: 55.41 kB / 0.7935 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3127, allocations: 0.9935 MB / 0.7945 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3127, allocations: 29.7 kB / 0.7945 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.313, allocations: 344 kB / 0.7949 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.3131, allocations: 35.92 kB / 0.7949 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.3131, allocations: 25.7 kB / 0.7949 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3132, allocations: 310 kB / 0.7952 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.3134, allocations: 95.95 kB / 0.7953 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.3137, allocations: 126.5 kB / 0.7954 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.3141, allocations: 214.4 kB / 0.7956 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3141, allocations: 4 kB / 0.7956 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005192/0.3146, allocations: 324.5 kB / 0.796 GB, free: 360 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3146, allocations: 4 kB / 0.796 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3146, allocations: 0 / 0.796 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3147, allocations: 0 / 0.796 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3148, allocations: 32.03 kB / 0.796 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3148, allocations: 0 / 0.796 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.315, allocations: 11.91 kB / 0.796 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.315, allocations: 15.92 kB / 0.796 GB, free: 296 kB / 0.6075 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.0002318/0.3153, allocations: 245.7 kB / 0.7962 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.786e-05/0.3154, allocations: 75.17 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.316, allocations: 336.4 kB / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.316, allocations: 0 / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.316, allocations: 0 / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.316, allocations: 0 / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.3165, allocations: 0.5285 MB / 0.7972 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3165, allocations: 7.922 kB / 0.7972 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3167, allocations: 19.98 kB / 0.7972 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3167, allocations: 192 / 0.7972 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3167, allocations: 8 kB / 0.7972 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3167, allocations: 7.938 kB / 0.7972 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3167, allocations: 0 / 0.7972 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.3173, allocations: 402.5 kB / 0.7976 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.3175, allocations: 184.1 kB / 0.7978 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.3176, allocations: 8 kB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3177, allocations: 7.984 kB / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.3178, allocations: 0 / 0.7978 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3178, allocations: 4 kB / 0.7978 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008151/0.3186, allocations: 0.7215 MB / 0.7985 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3186, allocations: 0 / 0.7985 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003427/0.319, allocations: 67.84 kB / 0.7985 GB, free: 13.59 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.0002057/0.3192, allocations: 123.2 kB / 0.7987 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004701/0.3197, allocations: 207.8 kB / 0.7989 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3197, allocations: 4 kB / 0.7989 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.3199, allocations: 108.1 kB / 0.799 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.3203, allocations: 51.25 kB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.322, allocations: 1.151 MB / 0.8001 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.3226, allocations: 0.9607 MB / 0.8011 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.3228, allocations: 73.33 kB / 0.8012 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.3229, allocations: 35.42 kB / 0.8012 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3229, allocations: 0 / 0.8012 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.009691/0.3326, allocations: 4.398 MB / 0.8055 GB, free: 6.43 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (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)