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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001612/0.001612, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.739/1.739, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0005211/0.0005211, allocations: 21.31 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2709, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.0027/0.2737, allocations: 1.874 MB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2751, allocations: 0.8492 MB / 0.7899 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.2753, allocations: 4 kB / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.2757, allocations: 179.2 kB / 0.7901 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.2759, allocations: 59.83 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.2762, allocations: 83.77 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.2765, allocations: 163.5 kB / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2767, allocations: 85.89 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.2768, allocations: 67.61 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.2769, allocations: 87.52 kB / 0.7906 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.277, allocations: 4 kB / 0.7906 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.2772, allocations: 119.8 kB / 0.7907 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.2774, allocations: 163.5 kB / 0.7909 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2775, allocations: 133.2 kB / 0.791 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.2781, allocations: 0.5025 MB / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2781, allocations: 0 / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2781, allocations: 0 / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2781, allocations: 0 / 0.7915 GB, free: 7.512 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.001178/0.2793, allocations: 0.8583 MB / 0.7923 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.2794, allocations: 12.03 kB / 0.7923 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.2794, allocations: 54.55 kB / 0.7924 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005394/0.28, allocations: 114.9 kB / 0.7925 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.2814, allocations: 0.803 MB / 0.7933 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2815, allocations: 4 kB / 0.7933 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2815, allocations: 16 kB / 0.7933 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.2819, allocations: 137.6 kB / 0.7934 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2819, allocations: 0 / 0.7934 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.2819, allocations: 4 kB / 0.7934 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2819, allocations: 4 kB / 0.7934 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.2823, allocations: 119.9 kB / 0.7935 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009429/0.2833, allocations: 0.629 MB / 0.7942 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.2838, allocations: 138.6 kB / 0.7943 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000787/0.2846, allocations: 0.5891 MB / 0.7949 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2846, allocations: 34.56 kB / 0.7949 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2846, allocations: 0 / 0.7949 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003327/0.285, allocations: 132.8 kB / 0.795 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.285, allocations: 51.41 kB / 0.7951 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.2859, allocations: 0.7866 MB / 0.7958 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.2859, allocations: 25.7 kB / 0.7959 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.2863, allocations: 371.5 kB / 0.7962 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.2863, allocations: 19.73 kB / 0.7962 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.2863, allocations: 11.94 kB / 0.7962 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2864, allocations: 306 kB / 0.7965 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.2865, allocations: 15.98 kB / 0.7966 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.517e-05/0.2866, allocations: 62 kB / 0.7966 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/0.2867, allocations: 16 kB / 0.7966 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2867, allocations: 4 kB / 0.7966 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002574/0.2869, allocations: 172.6 kB / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.287, allocations: 11.98 kB / 0.7968 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.287, allocations: 0 / 0.7968 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.287, allocations: 4 kB / 0.7968 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/0.2871, allocations: 20 kB / 0.7968 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.2871, allocations: 0 / 0.7968 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.736e-05/0.2872, allocations: 16.02 kB / 0.7968 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2872, allocations: 12 kB / 0.7969 GB, free: 1.68 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002652/0.2875, allocations: 245.7 kB / 0.7971 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.2876, allocations: 75.02 kB / 0.7972 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.2879, allocations: 140.6 kB / 0.7973 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2879, allocations: 0 / 0.7973 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2879, allocations: 0 / 0.7973 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2879, allocations: 8 kB / 0.7973 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.2884, allocations: 385.5 kB / 0.7977 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2884, allocations: 3.938 kB / 0.7977 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.2884, allocations: 15.92 kB / 0.7977 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2884, allocations: 0 / 0.7977 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2884, allocations: 3.953 kB / 0.7977 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2885, allocations: 4 kB / 0.7977 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2885, allocations: 0 / 0.7977 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.2887, allocations: 234.5 kB / 0.7979 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.2889, allocations: 132.2 kB / 0.798 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.289, allocations: 0 / 0.798 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2891, allocations: 11.94 kB / 0.7981 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.2891, allocations: 4 kB / 0.7981 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.2891, allocations: 7.938 kB / 0.7981 GB, free: 336 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006795/0.2898, allocations: 0.5497 MB / 0.7986 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2898, allocations: 0 / 0.7986 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003156/0.2901, allocations: 39.94 kB / 0.7986 GB, free: 15.75 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007011/0.2908, allocations: 0.7779 MB / 0.7994 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.291, allocations: 43.92 kB / 0.7994 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2911, allocations: 384 / 0.7994 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.2911, allocations: 23.92 kB / 0.7995 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.2915, allocations: 55.25 kB / 0.7995 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.2976, allocations: 4.454 MB / 0.8039 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.2983, allocations: 0.9673 MB / 0.8048 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.2985, allocations: 81.25 kB / 0.8049 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.2988, allocations: 215.4 kB / 0.8051 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of SimCode: time 1.403e-06/0.2988, allocations: 0 / 0.8051 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.3239, allocations: 9.325 MB / 0.8142 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/0.3242, allocations: 206.9 kB / 0.8144 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.36, allocations: 3.25 kB / 0.8144 GB, free: 15.63 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) Environment - environmentSimulation: