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.469/1.469, allocations: 252 MB / 267 MB, free: 10.96 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.002053/0.002053, allocations: 182.1 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0008933/0.000893, allocations: 89.7 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003559, allocations: 12.94 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.74/0.978, allocations: 165.5 MB / 1.062 GB, free: 4.305 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006503/0.9845, allocations: 4.264 MB / 1.066 GB, free: 4.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.9853, allocations: 20.09 kB / 1.066 GB, free: 4.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007532/0.9861, allocations: 171.3 kB / 1.066 GB, free: 4.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.9882, allocations: 0.5815 MB / 1.067 GB, free: 4.223 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.992, allocations: 1.056 MB / 1.068 GB, free: 4.191 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00232/0.9943, allocations: 1.447 MB / 1.069 GB, free: 4.188 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007412/0.9951, allocations: 344 kB / 1.07 GB, free: 4.145 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.9964, allocations: 0.5129 MB / 1.07 GB, free: 4.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000723/0.9971, allocations: 389.3 kB / 1.07 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.863e-05/0.9972, allocations: 26.62 kB / 1.071 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/1, allocations: 0.7869 MB / 1.071 GB, free: 4.125 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003108/1.001, allocations: 166.4 kB / 1.071 GB, free: 4.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005665/1.001, allocations: 129.2 kB / 1.072 GB, free: 20.09 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/1.003, allocations: 0.7708 MB / 1.072 GB, free: 20.03 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.003, allocations: 0.6562 kB / 1.072 GB, free: 20.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/1.003, allocations: 0 / 1.072 GB, free: 20.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.003, allocations: 4.75 kB / 1.072 GB, free: 20.02 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002/1.005, allocations: 0.9323 MB / 1.073 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/1.005, allocations: 9.438 kB / 1.073 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/1.005, allocations: 76.73 kB / 1.073 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/1.007, allocations: 286.5 kB / 1.074 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000874/1.008, allocations: 428.2 kB / 1.074 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/1.008, allocations: 33.56 kB / 1.074 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/1.008, allocations: 50.77 kB / 1.074 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.009, allocations: 0.5609 MB / 1.075 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.01, allocations: 0 / 1.075 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/1.01, allocations: 16.47 kB / 1.075 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/1.01, allocations: 9.406 kB / 1.075 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/1.011, allocations: 493 kB / 1.075 GB, free: 18.92 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.003074/1.014, allocations: 2.134 MB / 1.077 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.015, allocations: 433.4 kB / 1.078 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/1.016, allocations: 243 kB / 1.078 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007743/1.016, allocations: 413.3 kB / 1.078 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000683/1.017, allocations: 305.4 kB / 1.079 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.925e-06/1.017, allocations: 0 / 1.079 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.002154/1.019, allocations: 0.7405 MB / 1.079 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/1.019, allocations: 55.91 kB / 1.079 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/1.02, allocations: 499.4 kB / 1.08 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/1.02, allocations: 37.73 kB / 1.08 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/1.02, allocations: 258.5 kB / 1.08 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.021, allocations: 129.5 kB / 1.08 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/1.021, allocations: 9.938 kB / 1.08 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.021, allocations: 361.3 kB / 1.081 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/1.021, allocations: 211.8 kB / 1.081 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/1.022, allocations: 333.2 kB / 1.081 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/1.022, allocations: 286.7 kB / 1.081 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.022, allocations: 4 kB / 1.081 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001444/1.024, allocations: 0.6768 MB / 1.082 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/1.024, allocations: 63 kB / 1.082 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.024, allocations: 2.875 kB / 1.082 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/1.024, allocations: 9.156 kB / 1.082 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/1.025, allocations: 103.3 kB / 1.082 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.025, allocations: 10.27 kB / 1.082 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/1.025, allocations: 92.84 kB / 1.082 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/1.026, allocations: 23.3 kB / 1.082 GB, free: 15.93 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003863/1.026, allocations: 197.3 kB / 1.082 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.026, allocations: 56.2 kB / 1.083 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/1.028, allocations: 0.5622 MB / 1.083 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/1.028, allocations: 3.344 kB / 1.083 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.028, allocations: 1.094 kB / 1.083 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.028, allocations: 7.234 kB / 1.083 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/1.03, allocations: 1.383 MB / 1.084 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.03, allocations: 9.25 kB / 1.084 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/1.031, allocations: 80.84 kB / 1.085 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/1.031, allocations: 9.312 kB / 1.085 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/1.031, allocations: 9.438 kB / 1.085 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/1.031, allocations: 7.031 kB / 1.085 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.031, allocations: 4.781 kB / 1.085 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/1.033, allocations: 0.9912 MB / 1.086 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/1.033, allocations: 172.7 kB / 1.086 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/1.033, allocations: 13.97 kB / 1.086 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/1.034, allocations: 53.25 kB / 1.086 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/1.034, allocations: 59.83 kB / 1.086 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/1.034, allocations: 13.38 kB / 1.086 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005497/1.034, allocations: 343 kB / 1.086 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.034, allocations: 0 / 1.086 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009194/1.035, allocations: 155.7 kB / 1.086 GB, free: 14.73 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 (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.002952/1.038, allocations: 1.608 MB / 1.088 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001406/1.04, allocations: 0.6163 MB / 1.088 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.04, allocations: 0.625 kB / 1.088 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/1.041, allocations: 305.8 kB / 1.089 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/1.042, allocations: 283.9 kB / 1.089 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/1.048, allocations: 3.384 MB / 1.092 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/1.048, allocations: 0.8614 MB / 1.093 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006763/1.049, allocations: 128.9 kB / 1.093 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/1.049, allocations: 175.7 kB / 1.093 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of SimCode: time 1.303e-06/1.049, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/1.079, allocations: 14.82 MB / 1.108 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/1.079, allocations: 242.3 kB / 1.108 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.631, allocations: 0 / 1.108 GB, free: 9.102 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)