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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.0009986/0.0009987, allocations: 180 kB / 371.6 MB, free: 3.391 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.486/1.486, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009011/0.0009013, allocations: 86.94 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.669e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2347, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7472/0.982, allocations: 141.8 MB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.9822, allocations: 81.3 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02118/1.003, allocations: 9.896 MB / 1.128 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.843e-06/1.003, allocations: 0 / 1.128 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.392e-05/1.003, allocations: 15.94 kB / 1.128 GB, free: 36.32 MB / 0.7448 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.0006356/1.004, allocations: 0.7336 MB / 1.129 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.004, allocations: 12.03 kB / 1.129 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/1.004, allocations: 44.36 kB / 1.129 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/1.005, allocations: 120.8 kB / 1.129 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/1.005, allocations: 0.5083 MB / 1.13 GB, free: 35.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.005, allocations: 10.89 kB / 1.13 GB, free: 35.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/1.005, allocations: 11.62 kB / 1.13 GB, free: 35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/1.006, allocations: 215.6 kB / 1.13 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.006, allocations: 0 / 1.13 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/1.006, allocations: 8.344 kB / 1.13 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.006, allocations: 4 kB / 1.13 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/1.006, allocations: 249 kB / 1.13 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/1.007, allocations: 0.9726 MB / 1.131 GB, free: 34.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/1.008, allocations: 362.4 kB / 1.131 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/1.008, allocations: 118.8 kB / 1.131 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006676/1.008, allocations: 337.1 kB / 1.132 GB, free: 33.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/1.008, allocations: 34.5 kB / 1.132 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/1.008, allocations: 0 / 1.132 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0004825/1.009, allocations: 332.6 kB / 1.132 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/1.009, allocations: 55.91 kB / 1.132 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000902/1.01, allocations: 0.9012 MB / 1.133 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/1.01, allocations: 25.7 kB / 1.133 GB, free: 32.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.01, allocations: 351.5 kB / 1.133 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/1.01, allocations: 26.59 kB / 1.133 GB, free: 32.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/1.01, allocations: 7.5 kB / 1.133 GB, free: 32.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/1.01, allocations: 310.6 kB / 1.134 GB, free: 32.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/1.01, allocations: 107.5 kB / 1.134 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/1.011, allocations: 111.2 kB / 1.134 GB, free: 32.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/1.011, allocations: 108.2 kB / 1.134 GB, free: 32.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.011, allocations: 0 / 1.134 GB, free: 32.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003833/1.011, allocations: 340.4 kB / 1.134 GB, free: 31.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.011, allocations: 12 kB / 1.134 GB, free: 31.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.011, allocations: 3.625 kB / 1.134 GB, free: 31.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.011, allocations: 1.312 kB / 1.134 GB, free: 31.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/1.011, allocations: 30.94 kB / 1.134 GB, free: 31.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.011, allocations: 3.422 kB / 1.134 GB, free: 31.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/1.012, allocations: 20.47 kB / 1.134 GB, free: 31.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/1.012, allocations: 12 kB / 1.134 GB, free: 31.79 MB / 0.7448 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 7.079e-05/1.012, allocations: 118.5 kB / 1.135 GB, free: 31.67 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/1.012, allocations: 74.97 kB / 1.135 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/1.012, allocations: 398.8 kB / 1.135 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.012, allocations: 0 / 1.135 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.013, allocations: 4 kB / 1.135 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.013, allocations: 0.9375 kB / 1.135 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/1.013, allocations: 0.5488 MB / 1.136 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.013, allocations: 0 / 1.136 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/1.013, allocations: 31.03 kB / 1.136 GB, free: 31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.013, allocations: 4 kB / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.013, allocations: 7.188 kB / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.013, allocations: 0 / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.013, allocations: 0 / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/1.014, allocations: 440.5 kB / 1.136 GB, free: 30.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/1.014, allocations: 198.8 kB / 1.136 GB, free: 30.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/1.014, allocations: 4 kB / 1.136 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/1.014, allocations: 19.73 kB / 1.136 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/1.014, allocations: 10.42 kB / 1.136 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/1.014, allocations: 15.31 kB / 1.136 GB, free: 30.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000675/1.015, allocations: 0.713 MB / 1.137 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.015, allocations: 0 / 1.137 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003598/1.015, allocations: 71.94 kB / 1.137 GB, free: 29.94 MB / 0.7448 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.0006757/1.016, allocations: 0.9931 MB / 1.138 GB, free: 29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002362/1.016, allocations: 191.1 kB / 1.138 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.016, allocations: 0 / 1.138 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-05/1.016, allocations: 103.3 kB / 1.138 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/1.017, allocations: 50.33 kB / 1.138 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/1.018, allocations: 0.9996 MB / 1.139 GB, free: 28.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/1.018, allocations: 0.9626 MB / 1.14 GB, free: 27.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000186/1.019, allocations: 76.16 kB / 1.14 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/1.019, allocations: 222.6 kB / 1.14 GB, free: 27.1 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.019, allocations: 3.828 kB / 1.14 GB, free: 27.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/1.045, allocations: 12.55 MB / 1.153 GB, free: 19.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/1.046, allocations: 173.8 kB / 1.153 GB, free: 19.17 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/3.259, allocations: 4 kB / 1.153 GB, free: 19.16 MB / 0.7448 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)