Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.567/2.567, allocations: 284.7 MB / 297.2 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 168.9 kB / 365.6 MB, free: 2.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.1 MB / 0.624 GB, free: 8.258 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 98 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.699e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8502, allocations: 115.2 MB / 0.97 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3359/1.186, allocations: 140.6 MB / 1.107 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004545/1.187, allocations: 91.14 kB / 1.107 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06242/1.249, allocations: 9.891 MB / 1.117 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.206e-06/1.249, allocations: 0 / 1.117 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.574e-05/1.249, allocations: 12 kB / 1.117 GB, free: 1.715 MB / 0.7136 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.001857/1.251, allocations: 0.7345 MB / 1.118 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/1.251, allocations: 12.03 kB / 1.118 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/1.251, allocations: 42.55 kB / 1.118 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/1.253, allocations: 120.1 kB / 1.118 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/1.254, allocations: 0.5111 MB / 1.118 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/1.254, allocations: 9.812 kB / 1.118 GB, free: 196 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.254, allocations: 12 kB / 1.118 GB, free: 184 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008583/1.255, allocations: 228.5 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/1.255, allocations: 0 / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/1.255, allocations: 4 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/1.256, allocations: 7.984 kB / 1.119 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/1.256, allocations: 251.8 kB / 1.119 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/1.26, allocations: 0.9683 MB / 1.12 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.261, allocations: 358.3 kB / 1.12 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/1.262, allocations: 128.9 kB / 1.12 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/1.264, allocations: 328.8 kB / 1.121 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/1.264, allocations: 34.56 kB / 1.121 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 3.767e-06/1.264, allocations: 0 / 1.121 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.001449/1.265, allocations: 336.7 kB / 1.121 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/1.265, allocations: 56.81 kB / 1.121 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/1.268, allocations: 0.8992 MB / 1.122 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/1.268, allocations: 25.7 kB / 1.122 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/1.269, allocations: 351.8 kB / 1.122 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/1.269, allocations: 31.55 kB / 1.122 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/1.269, allocations: 0 / 1.122 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.269, allocations: 318 kB / 1.123 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/1.27, allocations: 103.9 kB / 1.123 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/1.27, allocations: 107.9 kB / 1.123 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/1.271, allocations: 117.4 kB / 1.123 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.271, allocations: 0 / 1.123 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001348/1.272, allocations: 336.6 kB / 1.123 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/1.272, allocations: 7 kB / 1.123 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.272, allocations: 0 / 1.123 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.272, allocations: 0 / 1.123 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/1.273, allocations: 39.91 kB / 1.123 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.273, allocations: 0 / 1.123 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/1.274, allocations: 21.92 kB / 1.123 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/1.274, allocations: 11.95 kB / 1.123 GB, free: 11.04 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001646/1.274, allocations: 109 kB / 1.123 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/1.274, allocations: 74.97 kB / 1.124 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/1.276, allocations: 396.7 kB / 1.124 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.276, allocations: 4 kB / 1.124 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.276, allocations: 3.984 kB / 1.124 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.276, allocations: 7.984 kB / 1.124 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/1.278, allocations: 0.5441 MB / 1.124 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.278, allocations: 0 / 1.124 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/1.278, allocations: 31.97 kB / 1.124 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/1.278, allocations: 4.688 kB / 1.124 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/1.278, allocations: 4 kB / 1.124 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/1.278, allocations: 3.938 kB / 1.124 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.278, allocations: 3.688 kB / 1.124 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/1.28, allocations: 443 kB / 1.125 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/1.28, allocations: 200.1 kB / 1.125 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/1.281, allocations: 0 / 1.125 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/1.281, allocations: 22.83 kB / 1.125 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/1.281, allocations: 7.984 kB / 1.125 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/1.281, allocations: 12 kB / 1.125 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002374/1.284, allocations: 0.7177 MB / 1.126 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.242e-06/1.284, allocations: 0 / 1.126 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001048/1.285, allocations: 75.94 kB / 1.126 GB, free: 8.309 MB / 0.7292 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 () * 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 (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.001768/1.287, allocations: 0.9779 MB / 1.127 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006584/1.287, allocations: 195.9 kB / 1.127 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.287, allocations: 0 / 1.127 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/1.288, allocations: 99.97 kB / 1.127 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/1.289, allocations: 58.69 kB / 1.127 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/1.293, allocations: 0.9951 MB / 1.128 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.294, allocations: 0.9541 MB / 1.129 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006258/1.295, allocations: 80.28 kB / 1.129 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/1.295, allocations: 231.3 kB / 1.129 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of SimCode: time 1.713e-06/1.295, allocations: 0 / 1.129 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/1.356, allocations: 12.56 MB / 1.142 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003291/1.357, allocations: 177.8 kB / 1.142 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/4.089, allocations: 0 / 1.142 GB, free: 8.242 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)