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.491/1.491, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001911/0.001911, allocations: 181 kB / 326.5 MB, free: 2.262 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.055/2.055, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001015/0.001015, allocations: 95.03 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004318, allocations: 12.7 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1823/0.4323, allocations: 151.6 MB / 1.048 GB, free: 7.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006581/0.4389, allocations: 4.198 MB / 1.052 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.4396, allocations: 19.81 kB / 1.052 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.4407, allocations: 282.6 kB / 1.053 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.4429, allocations: 0.6037 MB / 1.053 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.4468, allocations: 1.018 MB / 1.054 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.4484, allocations: 0.7527 MB / 1.055 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.4491, allocations: 366.1 kB / 1.055 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.4513, allocations: 0.6505 MB / 1.056 GB, free: 28 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6139/1.065, allocations: 284 kB / 1.056 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/1.065, allocations: 27.88 kB / 1.056 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/1.068, allocations: 0.5951 MB / 1.057 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/1.068, allocations: 150.7 kB / 1.057 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/1.068, allocations: 133.8 kB / 1.057 GB, free: 4.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/1.069, allocations: 0.6425 MB / 1.058 GB, free: 4.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/1.069, allocations: 1.594 kB / 1.058 GB, free: 4.199 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.424e-06/1.069, allocations: 0 / 1.058 GB, free: 4.199 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.07, allocations: 0 / 1.058 GB, free: 4.199 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.001932/1.071, allocations: 0.894 MB / 1.059 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.072, allocations: 9.906 kB / 1.059 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.268e-05/1.072, allocations: 81.06 kB / 1.059 GB, free: 19.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/1.074, allocations: 293 kB / 1.059 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/1.074, allocations: 431.2 kB / 1.059 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/1.074, allocations: 38.09 kB / 1.059 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/1.075, allocations: 43.03 kB / 1.059 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/1.076, allocations: 0.557 MB / 1.06 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/1.076, allocations: 2.906 kB / 1.06 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/1.076, allocations: 12.92 kB / 1.06 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/1.076, allocations: 12 kB / 1.06 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/1.077, allocations: 489.1 kB / 1.06 GB, free: 19.14 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.003448/1.08, allocations: 2.13 MB / 1.062 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.082, allocations: 444.5 kB / 1.063 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/1.082, allocations: 144.5 kB / 1.063 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007252/1.083, allocations: 330.7 kB / 1.063 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.554e-06/1.083, allocations: 0 / 1.063 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.002032/1.085, allocations: 0.7368 MB / 1.064 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/1.085, allocations: 86.64 kB / 1.064 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/1.086, allocations: 491.2 kB / 1.065 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/1.086, allocations: 38.58 kB / 1.065 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/1.086, allocations: 254.8 kB / 1.065 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.086, allocations: 128.8 kB / 1.065 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/1.086, allocations: 9.344 kB / 1.065 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.086, allocations: 368.5 kB / 1.065 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/1.087, allocations: 211.2 kB / 1.066 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007039/1.087, allocations: 333.8 kB / 1.066 GB, free: 16.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/1.088, allocations: 293.4 kB / 1.066 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/1.088, allocations: 2.344 kB / 1.066 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001728/1.09, allocations: 0.6749 MB / 1.067 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/1.09, allocations: 64.86 kB / 1.067 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.09, allocations: 4.125 kB / 1.067 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.09, allocations: 5.938 kB / 1.067 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/1.091, allocations: 105 kB / 1.067 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/1.091, allocations: 9.641 kB / 1.067 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/1.091, allocations: 91.11 kB / 1.067 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.988e-05/1.091, allocations: 22.17 kB / 1.067 GB, free: 16.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0003308/1.092, allocations: 200.1 kB / 1.067 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/1.092, allocations: 53.91 kB / 1.067 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/1.093, allocations: 0.5233 MB / 1.068 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.093, allocations: 4.891 kB / 1.068 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.093, allocations: 2.719 kB / 1.068 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.093, allocations: 6.266 kB / 1.068 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/1.097, allocations: 1.478 MB / 1.069 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.097, allocations: 4.25 kB / 1.069 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/1.097, allocations: 86.53 kB / 1.069 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-05/1.097, allocations: 8.844 kB / 1.069 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/1.097, allocations: 12.94 kB / 1.069 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-05/1.097, allocations: 11.56 kB / 1.069 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/1.097, allocations: 4.969 kB / 1.069 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/1.1, allocations: 1.239 MB / 1.071 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/1.1, allocations: 170.4 kB / 1.071 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.101, allocations: 21.75 kB / 1.071 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/1.101, allocations: 52.77 kB / 1.071 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/1.101, allocations: 60.03 kB / 1.071 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/1.101, allocations: 16.8 kB / 1.071 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008959/1.102, allocations: 342.7 kB / 1.071 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.102, allocations: 0 / 1.071 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001133/1.103, allocations: 149.7 kB / 1.071 GB, free: 14.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.003346/1.107, allocations: 3.183 MB / 1.075 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001588/1.108, allocations: 0.6119 MB / 1.075 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.108, allocations: 1.25 kB / 1.075 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008284/1.109, allocations: 326.7 kB / 1.075 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.111, allocations: 283 kB / 1.076 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007125/1.118, allocations: 5.346 MB / 1.081 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/1.119, allocations: 0.8801 MB / 1.082 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007028/1.119, allocations: 125.6 kB / 1.082 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/1.12, allocations: 178.5 kB / 1.082 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/1.12, allocations: 1.344 kB / 1.082 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/1.153, allocations: 14.78 MB / 1.097 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003732/1.154, allocations: 242 kB / 1.097 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.665, allocations: 0 / 1.097 GB, free: 7.023 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)