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.001939/0.001938, allocations: 108 kB / 15.61 MB, free: 148 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.002176/0.002176, allocations: 196.4 kB / 16.53 MB, free: 6.699 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.605/1.605, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.741/1.741, allocations: 292.3 MB / 0.5488 GB, free: 12.86 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.001464/0.001464, allocations: 70.36 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2828, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003852/0.2867, allocations: 2.255 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.288, allocations: 0.9501 MB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.952e-05/0.2882, allocations: 8 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.2887, allocations: 199.3 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.2889, allocations: 63.44 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.2892, allocations: 115.7 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.2895, allocations: 223.1 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.2897, allocations: 93.67 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2898, allocations: 87.53 kB / 0.7873 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2899, allocations: 103.4 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.2899, allocations: 16 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.2902, allocations: 151.8 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2904, allocations: 207.3 kB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.2906, allocations: 266.1 kB / 0.788 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.2912, allocations: 0.7082 MB / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2912, allocations: 4 kB / 0.7887 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2912, allocations: 0 / 0.7887 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.2912, allocations: 7.984 kB / 0.7887 GB, free: 8.031 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.001218/0.2925, allocations: 0.9707 MB / 0.7896 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2925, allocations: 8.031 kB / 0.7896 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.293, allocations: 115.9 kB / 0.7897 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.2938, allocations: 0.5934 MB / 0.7903 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2938, allocations: 8.375 kB / 0.7903 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.2939, allocations: 12.38 kB / 0.7903 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.2943, allocations: 202.1 kB / 0.7905 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2943, allocations: 192 / 0.7905 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.2943, allocations: 7.938 kB / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2944, allocations: 0 / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.2949, allocations: 231.8 kB / 0.7908 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.2961, allocations: 0.9139 MB / 0.7916 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006858/0.2968, allocations: 322.4 kB / 0.792 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.297, allocations: 112.9 kB / 0.7921 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007868/0.2978, allocations: 240.9 kB / 0.7923 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.2979, allocations: 30.56 kB / 0.7923 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/0.2979, allocations: 0 / 0.7923 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0009123/0.2988, allocations: 408.8 kB / 0.7927 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.2989, allocations: 51.41 kB / 0.7928 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.3, allocations: 0.9936 MB / 0.7937 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3001, allocations: 33.64 kB / 0.7938 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.3004, allocations: 344 kB / 0.7941 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.3005, allocations: 27.56 kB / 0.7941 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.3005, allocations: 29.7 kB / 0.7941 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3007, allocations: 314 kB / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.3009, allocations: 95.95 kB / 0.7945 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.3011, allocations: 118.5 kB / 0.7946 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.3015, allocations: 222.4 kB / 0.7949 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3016, allocations: 0 / 0.7949 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006157/0.3022, allocations: 324.5 kB / 0.7952 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.3022, allocations: 4 kB / 0.7952 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.3022, allocations: 4 kB / 0.7952 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3023, allocations: 0 / 0.7952 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.3025, allocations: 31.97 kB / 0.7952 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3025, allocations: 0 / 0.7952 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3027, allocations: 15.91 kB / 0.7952 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.3027, allocations: 7.984 kB / 0.7952 GB, free: 1.039 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.0002943/0.303, allocations: 250.3 kB / 0.7955 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3031, allocations: 75 kB / 0.7955 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.3038, allocations: 332.4 kB / 0.7959 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3038, allocations: 8.188 kB / 0.7959 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3038, allocations: 0 / 0.7959 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3038, allocations: 3.938 kB / 0.7959 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.3044, allocations: 0.5247 MB / 0.7964 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3044, allocations: 7.938 kB / 0.7964 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3046, allocations: 15.98 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3046, allocations: 4 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3046, allocations: 4 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3046, allocations: 0 / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3046, allocations: 0 / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.3052, allocations: 402.5 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.3054, allocations: 188.1 kB / 0.797 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.3055, allocations: 0 / 0.797 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3056, allocations: 15.98 kB / 0.797 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.3057, allocations: 8 kB / 0.797 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3057, allocations: 0 / 0.797 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008752/0.3066, allocations: 0.7215 MB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3066, allocations: 0 / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003867/0.307, allocations: 75.84 kB / 0.7978 GB, free: 14.33 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.000232/0.3072, allocations: 111.2 kB / 0.7979 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.3078, allocations: 219.8 kB / 0.7981 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3078, allocations: 0 / 0.7981 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.308, allocations: 107.9 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.3084, allocations: 56.06 kB / 0.7982 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3102, allocations: 1.185 MB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.3108, allocations: 0.9412 MB / 0.8003 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.311, allocations: 77.33 kB / 0.8004 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.3111, allocations: 35.44 kB / 0.8004 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.3111, allocations: 0 / 0.8004 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of Templates: time 0.01032/0.3215, allocations: 4.39 MB / 0.8047 GB, free: 7.16 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)