Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.875 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.001156/0.001156, allocations: 180.4 kB / 316.3 MB, free: 3.273 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.514/1.514, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009131/0.0009129, allocations: 98.41 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.77e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1916, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6676/0.8593, allocations: 135.2 MB / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.8595, allocations: 78.77 kB / 1.017 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.8741, allocations: 6.184 MB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8742, allocations: 4.922 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.8742, allocations: 4 kB / 1.023 GB, free: 12.91 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006605/0.8749, allocations: 0.5466 MB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.8749, allocations: 8.031 kB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.875, allocations: 43.44 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.8752, allocations: 251.4 kB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.8753, allocations: 12 kB / 1.024 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.8753, allocations: 8 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001862/0.8755, allocations: 82.86 kB / 1.024 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.8757, allocations: 116.8 kB / 1.024 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.8757, allocations: 3.781 kB / 1.024 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.8758, allocations: 0 / 1.024 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.8758, allocations: 8 kB / 1.024 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.8766, allocations: 0.5521 MB / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.8768, allocations: 88.12 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.8768, allocations: 43.48 kB / 1.025 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.8769, allocations: 48 / 1.025 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.8769, allocations: 34.55 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.8769, allocations: 3.938 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002109/0.8771, allocations: 115.6 kB / 1.025 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.8772, allocations: 59.36 kB / 1.025 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.8775, allocations: 311.5 kB / 1.026 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.8775, allocations: 25.7 kB / 1.026 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.8776, allocations: 215 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.8777, allocations: 31 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.8777, allocations: 0 / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8778, allocations: 349 kB / 1.026 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.8779, allocations: 22.25 kB / 1.026 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.8779, allocations: 36.09 kB / 1.026 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.74e-05/0.878, allocations: 25.8 kB / 1.026 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.878, allocations: 0 / 1.026 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001563/0.8782, allocations: 124.1 kB / 1.026 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8782, allocations: 5.25 kB / 1.026 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.8782, allocations: 0 / 1.026 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8782, allocations: 4 kB / 1.026 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.8784, allocations: 35.39 kB / 1.026 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.8784, allocations: 3.984 kB / 1.026 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.8785, allocations: 19.89 kB / 1.027 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.8785, allocations: 0 / 1.027 GB, free: 10 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 6.382e-05/0.8786, allocations: 101 kB / 1.027 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001476/0.8787, allocations: 122 kB / 1.027 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.8788, allocations: 39.61 kB / 1.027 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.824e-05/0.8789, allocations: 33.64 kB / 1.027 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8789, allocations: 0 / 1.027 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8789, allocations: 3.953 kB / 1.027 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.8789, allocations: 4 kB / 1.027 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.8792, allocations: 273 kB / 1.027 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8792, allocations: 0 / 1.027 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.8793, allocations: 27.11 kB / 1.027 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.8793, allocations: 0 / 1.027 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.8794, allocations: 3.938 kB / 1.027 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8794, allocations: 4 kB / 1.027 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8794, allocations: 0 / 1.027 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.8796, allocations: 247.3 kB / 1.027 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.8797, allocations: 104.7 kB / 1.027 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.8797, allocations: 3.938 kB / 1.027 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.8799, allocations: 15.98 kB / 1.027 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.8799, allocations: 12.05 kB / 1.027 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.8799, allocations: 0 / 1.027 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002298/0.8802, allocations: 255.1 kB / 1.028 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8802, allocations: 0 / 1.028 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002669/0.8804, allocations: 43.84 kB / 1.028 GB, free: 8.805 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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.000584/0.881, allocations: 0.8076 MB / 1.029 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.8812, allocations: 64.81 kB / 1.029 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8812, allocations: 0 / 1.029 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.8812, allocations: 33.06 kB / 1.029 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.8815, allocations: 27.8 kB / 1.029 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.8825, allocations: 0.5155 MB / 1.029 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.8829, allocations: 0.8017 MB / 1.03 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.251e-05/0.8829, allocations: 12.55 kB / 1.03 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.883, allocations: 96.91 kB / 1.03 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/0.883, allocations: 0 / 1.03 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.9074, allocations: 4.69 MB / 1.035 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/0.9076, allocations: 168.2 kB / 1.035 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.724, allocations: 2.953 kB / 1.035 GB, free: 1.703 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)