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.001469/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001946/0.001946, allocations: 192 kB / 16.14 MB, free: 6.703 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.437/1.437, allocations: 205.1 MB / 222 MB, free: 4.727 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.723/1.723, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001351/0.001351, allocations: 66.59 kB / 0.6708 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2748, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00365/0.2785, allocations: 2.308 MB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.2802, allocations: 0.9582 MB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.2803, allocations: 0 / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.2809, allocations: 191.5 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2811, allocations: 55.62 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.2814, allocations: 91.83 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.2816, allocations: 211.1 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.2818, allocations: 97.66 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2819, allocations: 79.58 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.2821, allocations: 99.42 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.2821, allocations: 12 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.2824, allocations: 143.8 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2826, allocations: 207.3 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.2828, allocations: 258.1 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.2834, allocations: 0.7004 MB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2835, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2835, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2835, allocations: 0 / 0.7879 GB, free: 8.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.001242/0.2847, allocations: 0.9746 MB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2848, allocations: 15.97 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.2853, allocations: 115.9 kB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.2861, allocations: 0.5895 MB / 0.7896 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2861, allocations: 8.375 kB / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.2861, allocations: 8.375 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.2865, allocations: 198.1 kB / 0.7898 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2865, allocations: 4.188 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.2866, allocations: 7.938 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2866, allocations: 4 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.287, allocations: 227.9 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.2882, allocations: 0.9216 MB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.2888, allocations: 314.6 kB / 0.7912 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.289, allocations: 100.9 kB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/0.2897, allocations: 256.8 kB / 0.7916 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2897, allocations: 30.56 kB / 0.7916 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 3.286e-06/0.2897, allocations: 0 / 0.7916 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0008028/0.2906, allocations: 400.6 kB / 0.792 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.2906, allocations: 59.34 kB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.2917, allocations: 0.9935 MB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2917, allocations: 25.7 kB / 0.793 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.292, allocations: 348 kB / 0.7934 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.2921, allocations: 31.55 kB / 0.7934 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.2921, allocations: 25.72 kB / 0.7934 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2922, allocations: 314 kB / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.2924, allocations: 95.95 kB / 0.7938 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.2926, allocations: 122.5 kB / 0.7939 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.293, allocations: 218.4 kB / 0.7941 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.293, allocations: 0 / 0.7941 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005044/0.2935, allocations: 324.5 kB / 0.7944 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2936, allocations: 4 kB / 0.7944 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2936, allocations: 480 / 0.7944 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2936, allocations: 4 kB / 0.7944 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2938, allocations: 23.98 kB / 0.7945 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2938, allocations: 8 kB / 0.7945 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.2939, allocations: 15.89 kB / 0.7945 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.294, allocations: 7.938 kB / 0.7945 GB, free: 1.57 MB / 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.0002502/0.2942, allocations: 246.4 kB / 0.7947 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2943, allocations: 75 kB / 0.7948 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000594/0.2949, allocations: 328.5 kB / 0.7951 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2949, allocations: 0 / 0.7951 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.295, allocations: 0 / 0.7951 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.295, allocations: 3.984 kB / 0.7951 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.2955, allocations: 0.5246 MB / 0.7956 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2955, allocations: 3.938 kB / 0.7956 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.2957, allocations: 23.92 kB / 0.7957 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2957, allocations: 0 / 0.7957 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.2957, allocations: 7.984 kB / 0.7957 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2957, allocations: 4 kB / 0.7957 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2957, allocations: 4 kB / 0.7957 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.2963, allocations: 402.5 kB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.2964, allocations: 176.1 kB / 0.7962 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.2965, allocations: 15.98 kB / 0.7962 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.2967, allocations: 4 kB / 0.7962 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.2967, allocations: 3.984 kB / 0.7963 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2968, allocations: 4 kB / 0.7963 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007973/0.2976, allocations: 0.7215 MB / 0.797 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2976, allocations: 3.938 kB / 0.797 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003521/0.2979, allocations: 71.84 kB / 0.797 GB, free: 14.88 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.0002134/0.2981, allocations: 115.2 kB / 0.7971 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.2986, allocations: 220 kB / 0.7974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2986, allocations: 0 / 0.7974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.2988, allocations: 108 kB / 0.7975 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.2992, allocations: 55.23 kB / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.3009, allocations: 1.324 MB / 0.7988 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.3014, allocations: 0.9482 MB / 0.7997 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002132/0.3017, allocations: 81.31 kB / 0.7998 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.3017, allocations: 31.44 kB / 0.7998 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.3018, allocations: 0 / 0.7998 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of Templates: time 0.009401/0.3112, allocations: 4.226 MB / 0.804 GB, free: 7.719 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)