Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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.582/1.582, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000892/0.000892, allocations: 180.3 kB / 325.9 MB, free: 2.648 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.628/1.628, allocations: 205 MB / 0.576 GB, free: 20.96 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.0007799/0.00078, allocations: 85.17 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 13.33 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2564, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7727/1.029, allocations: 179.4 MB / 1.071 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007766/1.037, allocations: 4.563 MB / 1.076 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000797/1.038, allocations: 19.28 kB / 1.076 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007823/1.039, allocations: 185.2 kB / 1.076 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/1.041, allocations: 0.7124 MB / 1.077 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004983/1.046, allocations: 1.404 MB / 1.078 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003363/1.049, allocations: 1.695 MB / 1.08 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007994/1.05, allocations: 371 kB / 1.08 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/1.052, allocations: 0.5208 MB / 1.081 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006815/1.052, allocations: 413.7 kB / 1.081 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.493e-05/1.052, allocations: 28.05 kB / 1.081 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004067/1.057, allocations: 1.802 MB / 1.083 GB, free: 1.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/1.057, allocations: 169 kB / 1.083 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004049/1.057, allocations: 288.5 kB / 1.083 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00278/1.06, allocations: 1.37 MB / 1.085 GB, free: 1.457 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.06, allocations: 5.859 kB / 1.085 GB, free: 1.453 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/1.06, allocations: 0 / 1.085 GB, free: 1.453 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.457e-06/1.06, allocations: 1.25 kB / 1.085 GB, free: 1.453 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001886/1.062, allocations: 0.9329 MB / 1.086 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.062, allocations: 8.562 kB / 1.086 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.127e-05/1.062, allocations: 77.73 kB / 1.086 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/1.064, allocations: 285.1 kB / 1.086 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007483/1.065, allocations: 453.3 kB / 1.086 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/1.065, allocations: 33.09 kB / 1.086 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/1.065, allocations: 40.16 kB / 1.086 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/1.066, allocations: 0.569 MB / 1.087 GB, free: 16.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/1.066, allocations: 5.25 kB / 1.087 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/1.066, allocations: 15.44 kB / 1.087 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/1.066, allocations: 10.06 kB / 1.087 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/1.067, allocations: 495.8 kB / 1.087 GB, free: 16.31 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/1.07, allocations: 2.139 MB / 1.09 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/1.071, allocations: 439 kB / 1.09 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/1.071, allocations: 243.5 kB / 1.09 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/1.072, allocations: 409.2 kB / 1.091 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006501/1.073, allocations: 310.3 kB / 1.091 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 3.467e-06/1.073, allocations: 1.125 kB / 1.091 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001959/1.075, allocations: 0.7387 MB / 1.092 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.075, allocations: 57.25 kB / 1.092 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/1.075, allocations: 497 kB / 1.092 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/1.075, allocations: 32.86 kB / 1.092 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/1.076, allocations: 260.6 kB / 1.092 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/1.076, allocations: 124.2 kB / 1.092 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/1.076, allocations: 49.14 kB / 1.093 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.076, allocations: 370.9 kB / 1.093 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/1.076, allocations: 211.7 kB / 1.093 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/1.077, allocations: 335.6 kB / 1.093 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/1.078, allocations: 0.5707 MB / 1.094 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.078, allocations: 2.906 kB / 1.094 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001169/1.079, allocations: 0.6718 MB / 1.095 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/1.079, allocations: 58.59 kB / 1.095 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.079, allocations: 7.391 kB / 1.095 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.079, allocations: 6.188 kB / 1.095 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/1.08, allocations: 107.5 kB / 1.095 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.08, allocations: 9.594 kB / 1.095 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/1.08, allocations: 93.81 kB / 1.095 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/1.08, allocations: 22.34 kB / 1.095 GB, free: 13.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002315/1.08, allocations: 188 kB / 1.095 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/1.081, allocations: 55.91 kB / 1.095 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/1.082, allocations: 0.5742 MB / 1.096 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.082, allocations: 3.562 kB / 1.096 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.082, allocations: 0 / 1.096 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/1.082, allocations: 6.703 kB / 1.096 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/1.084, allocations: 1.389 MB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.084, allocations: 4.25 kB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/1.084, allocations: 90.02 kB / 1.097 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/1.084, allocations: 10.41 kB / 1.097 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/1.084, allocations: 11.56 kB / 1.097 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/1.084, allocations: 3.984 kB / 1.097 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.084, allocations: 7.719 kB / 1.097 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/1.086, allocations: 0.9853 MB / 1.098 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/1.087, allocations: 172.7 kB / 1.098 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/1.087, allocations: 11.94 kB / 1.098 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/1.087, allocations: 52.94 kB / 1.098 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.087, allocations: 50.73 kB / 1.098 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.087, allocations: 12.66 kB / 1.098 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004618/1.088, allocations: 347.1 kB / 1.099 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/1.088, allocations: 0 / 1.099 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007154/1.089, allocations: 157.9 kB / 1.099 GB, free: 12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002787/1.091, allocations: 1.615 MB / 1.101 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001405/1.093, allocations: 0.6205 MB / 1.101 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.093, allocations: 0 / 1.101 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/1.094, allocations: 305.5 kB / 1.101 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/1.095, allocations: 281.3 kB / 1.102 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009227/1.105, allocations: 5.335 MB / 1.107 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/1.105, allocations: 0.8648 MB / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008063/1.106, allocations: 126.5 kB / 1.108 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/1.106, allocations: 181.1 kB / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of SimCode: time 2.655e-06/1.106, allocations: 0 / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2127/1.319, allocations: 14.85 MB / 1.123 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/1.319, allocations: 260.4 kB / 1.123 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/3.669, allocations: 0 / 1.123 GB, free: 4.5 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)