Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.488/1.488, allocations: 287.4 MB / 302.6 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008449/0.000845, allocations: 185.8 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007628/0.0007628, allocations: 93.72 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 11.47 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2139, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5686/0.7825, allocations: 165.3 MB / 1.14 GB, free: 13.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004884/0.7874, allocations: 4.183 MB / 1.144 GB, free: 12.15 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/0.7879, allocations: 18.09 kB / 1.144 GB, free: 12.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.7884, allocations: 170 kB / 1.144 GB, free: 12.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.7898, allocations: 0.5914 MB / 1.145 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.7924, allocations: 1.052 MB / 1.146 GB, free: 11.47 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.7939, allocations: 1.452 MB / 1.147 GB, free: 11.22 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.7944, allocations: 373 kB / 1.148 GB, free: 11.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008356/0.7952, allocations: 0.5108 MB / 1.148 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.7957, allocations: 390.2 kB / 1.149 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/0.7958, allocations: 30.94 kB / 1.149 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.7975, allocations: 0.7852 MB / 1.149 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.7977, allocations: 164.9 kB / 1.15 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.7978, allocations: 132.7 kB / 1.15 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008803/0.7987, allocations: 0.7588 MB / 1.15 GB, free: 10.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7987, allocations: 1.094 kB / 1.15 GB, free: 10.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7987, allocations: 3.938 kB / 1.151 GB, free: 10.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.7987, allocations: 0 / 1.151 GB, free: 10.32 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.0014/0.8001, allocations: 0.9332 MB / 1.151 GB, free: 9.578 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8002, allocations: 14.34 kB / 1.151 GB, free: 9.574 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.527e-05/0.8003, allocations: 80.61 kB / 1.152 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.8019, allocations: 286.3 kB / 1.152 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006183/0.8026, allocations: 443.3 kB / 1.152 GB, free: 9.074 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.8026, allocations: 31.5 kB / 1.152 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.8027, allocations: 43.5 kB / 1.152 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/0.8036, allocations: 0.5646 MB / 1.153 GB, free: 8.832 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.8036, allocations: 1.469 kB / 1.153 GB, free: 8.832 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.8037, allocations: 19.53 kB / 1.153 GB, free: 8.828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.8037, allocations: 9.938 kB / 1.153 GB, free: 8.828 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009935/0.8047, allocations: 495.2 kB / 1.153 GB, free: 8.727 MB / 0.698 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.002299/0.807, allocations: 2.123 MB / 1.155 GB, free: 7.145 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/0.8079, allocations: 434.5 kB / 1.156 GB, free: 7.035 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.8084, allocations: 246.7 kB / 1.156 GB, free: 6.977 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/0.809, allocations: 413.8 kB / 1.156 GB, free: 6.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/0.8096, allocations: 315.9 kB / 1.157 GB, free: 6.434 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 5.27e-06/0.8096, allocations: 0 / 1.157 GB, free: 6.434 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001634/0.8112, allocations: 0.7236 MB / 1.157 GB, free: 6.246 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.8113, allocations: 63.89 kB / 1.158 GB, free: 6.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.8118, allocations: 498.7 kB / 1.158 GB, free: 5.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.8118, allocations: 36.08 kB / 1.158 GB, free: 5.945 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.812, allocations: 258.8 kB / 1.158 GB, free: 5.801 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.742e-05/0.8121, allocations: 124.4 kB / 1.158 GB, free: 5.711 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.8121, allocations: 9.062 kB / 1.158 GB, free: 5.711 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8122, allocations: 364.8 kB / 1.159 GB, free: 5.379 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.8127, allocations: 213.9 kB / 1.159 GB, free: 5.336 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.8133, allocations: 327 kB / 1.159 GB, free: 5.176 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009472/0.8142, allocations: 0.5801 MB / 1.16 GB, free: 4.906 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.8142, allocations: 4.969 kB / 1.16 GB, free: 4.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001198/0.8154, allocations: 0.6753 MB / 1.16 GB, free: 4.668 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.8155, allocations: 61.22 kB / 1.161 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8155, allocations: 3.031 kB / 1.161 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8155, allocations: 5.062 kB / 1.161 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.816, allocations: 106.3 kB / 1.161 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.816, allocations: 5.047 kB / 1.161 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.8165, allocations: 98.5 kB / 1.161 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.8166, allocations: 22.28 kB / 1.161 GB, free: 4.535 MB / 0.698 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.0002079/0.8168, allocations: 203.4 kB / 1.161 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.8169, allocations: 53.97 kB / 1.161 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.818, allocations: 0.5652 MB / 1.162 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.818, allocations: 4.156 kB / 1.162 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.818, allocations: 4 kB / 1.162 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.8181, allocations: 5.172 kB / 1.162 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.8201, allocations: 1.379 MB / 1.163 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.8202, allocations: 3.594 kB / 1.163 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.8206, allocations: 88.59 kB / 1.163 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.8206, allocations: 5.625 kB / 1.163 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.8206, allocations: 10.34 kB / 1.163 GB, free: 3.168 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.8206, allocations: 5.219 kB / 1.163 GB, free: 3.168 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8206, allocations: 7.969 kB / 1.163 GB, free: 3.164 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.8222, allocations: 0.9876 MB / 1.164 GB, free: 2.535 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.8224, allocations: 166.7 kB / 1.164 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.8225, allocations: 22.02 kB / 1.164 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.823, allocations: 48.48 kB / 1.164 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.8231, allocations: 52.44 kB / 1.164 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.8231, allocations: 14.64 kB / 1.164 GB, free: 2.316 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003778/0.8235, allocations: 341.8 kB / 1.165 GB, free: 2.113 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.492e-06/0.8235, allocations: 0 / 1.165 GB, free: 2.113 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005368/0.8241, allocations: 158.6 kB / 1.165 GB, free: 2.082 MB / 0.698 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.002205/0.8263, allocations: 1.613 MB / 1.166 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.8274, allocations: 0.5986 MB / 1.167 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8274, allocations: 5.469 kB / 1.167 GB, free: 0.543 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006507/0.8281, allocations: 300.8 kB / 1.167 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.8297, allocations: 279.5 kB / 1.167 GB, free: 284 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.8347, allocations: 3.395 MB / 1.171 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.8351, allocations: 0.8649 MB / 1.172 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004825/0.8356, allocations: 129.1 kB / 1.172 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.8358, allocations: 176.1 kB / 1.172 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.8359, allocations: 7.938 kB / 1.172 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9578/1.794, allocations: 14.81 MB / 1.186 GB, free: 6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.794, allocations: 222.1 kB / 1.187 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/4.257, allocations: 0 / 1.187 GB, free: 5.766 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)