Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 249.5 MB / 257 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 176.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007849/0.0007848, allocations: 92.45 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.121e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6856/0.8623, allocations: 135 MB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.8626, allocations: 84.31 kB / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02425/0.8869, allocations: 9.792 MB / 1.027 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8869, allocations: 3.938 kB / 1.027 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.8869, allocations: 8 kB / 1.027 GB, free: 9.906 MB / 0.6511 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.0008555/0.8878, allocations: 0.7391 MB / 1.027 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.8878, allocations: 12.03 kB / 1.028 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004973/0.8883, allocations: 107 kB / 1.028 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.889, allocations: 0.5233 MB / 1.028 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.889, allocations: 4 kB / 1.028 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.889, allocations: 8 kB / 1.028 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003543/0.8894, allocations: 248.9 kB / 1.028 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.8897, allocations: 202.7 kB / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-06/0.8897, allocations: 0 / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.8897, allocations: 0 / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.8897, allocations: 4 kB / 1.029 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.891, allocations: 0.9202 MB / 1.029 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.8915, allocations: 350.1 kB / 1.03 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.8917, allocations: 119.6 kB / 1.03 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007442/0.8924, allocations: 336.2 kB / 1.03 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.8925, allocations: 38.06 kB / 1.03 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.8925, allocations: 0 / 1.03 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0009927/0.8935, allocations: 415.6 kB / 1.031 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.8935, allocations: 55.41 kB / 1.031 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/0.8945, allocations: 0.8317 MB / 1.032 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.8945, allocations: 25.7 kB / 1.032 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.8947, allocations: 338.3 kB / 1.032 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.8948, allocations: 31.23 kB / 1.032 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.8948, allocations: 0 / 1.032 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8949, allocations: 325.3 kB / 1.032 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.895, allocations: 103.6 kB / 1.032 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.8952, allocations: 115.8 kB / 1.032 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/0.8958, allocations: 196.5 kB / 1.033 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8958, allocations: 0 / 1.033 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008829/0.8967, allocations: 420.6 kB / 1.033 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.8967, allocations: 4 kB / 1.033 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.8967, allocations: 0 / 1.033 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.8968, allocations: 4 kB / 1.033 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.897, allocations: 35.97 kB / 1.033 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.897, allocations: 0 / 1.033 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.8972, allocations: 15.92 kB / 1.033 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.8972, allocations: 11.25 kB / 1.033 GB, free: 4.531 MB / 0.6511 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.746e-05/0.8973, allocations: 108.9 kB / 1.033 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008769/0.8982, allocations: 423.2 kB / 1.034 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.8983, allocations: 75.05 kB / 1.034 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.8994, allocations: 483 kB / 1.034 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8995, allocations: 4 kB / 1.034 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8995, allocations: 0 / 1.034 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8995, allocations: 0 / 1.034 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.9, allocations: 0.5193 MB / 1.035 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9, allocations: 4 kB / 1.035 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.9002, allocations: 31.97 kB / 1.035 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.9002, allocations: 0 / 1.035 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.9002, allocations: 4 kB / 1.035 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.9003, allocations: 3.984 kB / 1.035 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.9003, allocations: 4 kB / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.9012, allocations: 0.5107 MB / 1.035 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.9014, allocations: 193.6 kB / 1.035 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.9015, allocations: 7.984 kB / 1.035 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.9017, allocations: 11.98 kB / 1.035 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.9017, allocations: 15.12 kB / 1.035 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.9018, allocations: 11.98 kB / 1.035 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007123/0.9025, allocations: 0.6587 MB / 1.036 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9025, allocations: 3.938 kB / 1.036 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003347/0.9028, allocations: 71.84 kB / 1.036 GB, free: 1.949 MB / 0.6511 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.001208/0.904, allocations: 1.111 MB / 1.037 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.9043, allocations: 183.1 kB / 1.037 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.9043, allocations: 192 / 1.037 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.9044, allocations: 102.5 kB / 1.037 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.9047, allocations: 48.05 kB / 1.038 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.9062, allocations: 0.9905 MB / 1.038 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.9067, allocations: 0.9604 MB / 1.039 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000187/0.9069, allocations: 69.27 kB / 1.039 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.9072, allocations: 221.8 kB / 1.04 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of SimCode: time 2.335e-06/0.9072, allocations: 4 kB / 1.04 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.9364, allocations: 10.69 MB / 1.05 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.9366, allocations: 180.8 kB / 1.05 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.933, allocations: 1.406 kB / 1.05 GB, free: 3.852 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)