Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 288.4 MB / 303.3 MB, free: 8.07 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.001455/0.001455, allocations: 186.8 kB / 372 MB, free: 10.27 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.928/1.928, allocations: 205.4 MB / 0.6307 GB, free: 9.93 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.0008898/0.0008899, allocations: 98.84 kB / 0.744 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004264, allocations: 12.5 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2645, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8392/1.104, allocations: 165.3 MB / 1.141 GB, free: 13.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006987/1.111, allocations: 4.175 MB / 1.145 GB, free: 12.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009024/1.112, allocations: 18 kB / 1.145 GB, free: 12.51 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00085/1.113, allocations: 176 kB / 1.145 GB, free: 12.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00226/1.115, allocations: 0.5838 MB / 1.146 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003713/1.119, allocations: 1.061 MB / 1.147 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002138/1.121, allocations: 1.442 MB / 1.148 GB, free: 11.2 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005851/1.121, allocations: 347.1 kB / 1.149 GB, free: 11.06 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/1.123, allocations: 0.5142 MB / 1.149 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005675/1.123, allocations: 390.1 kB / 1.15 GB, free: 10.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/1.123, allocations: 27.41 kB / 1.15 GB, free: 10.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/1.126, allocations: 0.7851 MB / 1.15 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/1.126, allocations: 164.8 kB / 1.15 GB, free: 10.34 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/1.126, allocations: 139 kB / 1.151 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/1.128, allocations: 0.755 MB / 1.151 GB, free: 9.902 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.128, allocations: 0 / 1.151 GB, free: 9.902 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.103e-06/1.128, allocations: 1.156 kB / 1.151 GB, free: 9.902 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.128, allocations: 0 / 1.151 GB, free: 9.902 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.001929/1.13, allocations: 0.9352 MB / 1.152 GB, free: 9.164 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.13, allocations: 13.36 kB / 1.152 GB, free: 9.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/1.13, allocations: 80.78 kB / 1.152 GB, free: 9.109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/1.132, allocations: 282 kB / 1.153 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/1.133, allocations: 430.3 kB / 1.153 GB, free: 8.676 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/1.133, allocations: 31.84 kB / 1.153 GB, free: 8.672 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/1.133, allocations: 44.31 kB / 1.153 GB, free: 8.672 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.134, allocations: 0.5572 MB / 1.154 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/1.134, allocations: 3.938 kB / 1.154 GB, free: 8.438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/1.135, allocations: 24.14 kB / 1.154 GB, free: 8.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/1.135, allocations: 10.47 kB / 1.154 GB, free: 8.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.136, allocations: 487.7 kB / 1.154 GB, free: 8.332 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.002954/1.139, allocations: 2.142 MB / 1.156 GB, free: 6.734 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/1.14, allocations: 433.3 kB / 1.157 GB, free: 6.629 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/1.14, allocations: 239.3 kB / 1.157 GB, free: 6.578 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008297/1.141, allocations: 413.5 kB / 1.157 GB, free: 6.172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007097/1.142, allocations: 308.8 kB / 1.158 GB, free: 6.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 4.097e-06/1.142, allocations: 0 / 1.158 GB, free: 6.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.002146/1.144, allocations: 0.7261 MB / 1.158 GB, free: 5.852 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/1.144, allocations: 64.23 kB / 1.158 GB, free: 5.785 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/1.145, allocations: 491.8 kB / 1.159 GB, free: 5.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/1.145, allocations: 34.86 kB / 1.159 GB, free: 5.559 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/1.145, allocations: 266 kB / 1.159 GB, free: 5.406 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.145, allocations: 122.1 kB / 1.159 GB, free: 5.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/1.146, allocations: 8 kB / 1.159 GB, free: 5.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002029/1.146, allocations: 372.9 kB / 1.16 GB, free: 4.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/1.146, allocations: 216 kB / 1.16 GB, free: 4.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/1.147, allocations: 325 kB / 1.16 GB, free: 4.773 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/1.148, allocations: 299.5 kB / 1.16 GB, free: 4.645 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.148, allocations: 1.344 kB / 1.16 GB, free: 4.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001668/1.149, allocations: 0.6659 MB / 1.161 GB, free: 4.289 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.527e-05/1.149, allocations: 68.36 kB / 1.161 GB, free: 4.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.149, allocations: 3.844 kB / 1.161 GB, free: 4.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/1.149, allocations: 4.375 kB / 1.161 GB, free: 4.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/1.15, allocations: 111.5 kB / 1.161 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.15, allocations: 4.062 kB / 1.161 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00075/1.151, allocations: 86.11 kB / 1.161 GB, free: 4.145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/1.151, allocations: 28.52 kB / 1.161 GB, free: 4.133 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.0003542/1.151, allocations: 195.9 kB / 1.162 GB, free: 3.965 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/1.151, allocations: 56.62 kB / 1.162 GB, free: 3.934 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/1.153, allocations: 0.5715 MB / 1.162 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.153, allocations: 3.5 kB / 1.162 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.153, allocations: 1.281 kB / 1.162 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.153, allocations: 0 / 1.162 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/1.156, allocations: 1.381 MB / 1.163 GB, free: 2.645 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.156, allocations: 3.594 kB / 1.164 GB, free: 2.645 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/1.156, allocations: 82.98 kB / 1.164 GB, free: 2.625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/1.156, allocations: 12.33 kB / 1.164 GB, free: 2.617 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/1.156, allocations: 14.83 kB / 1.164 GB, free: 2.609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/1.156, allocations: 9.438 kB / 1.164 GB, free: 2.605 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.156, allocations: 4.469 kB / 1.164 GB, free: 2.605 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/1.158, allocations: 0.9856 MB / 1.165 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/1.159, allocations: 176 kB / 1.165 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/1.159, allocations: 13.64 kB / 1.165 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/1.159, allocations: 55.55 kB / 1.165 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.159, allocations: 51.52 kB / 1.165 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/1.159, allocations: 12.06 kB / 1.165 GB, free: 1.754 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005089/1.16, allocations: 341.4 kB / 1.165 GB, free: 1.551 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.8e-07/1.16, allocations: 4 kB / 1.165 GB, free: 1.547 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000712/1.161, allocations: 154.1 kB / 1.165 GB, free: 1.52 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.002606/1.163, allocations: 1.612 MB / 1.167 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001536/1.165, allocations: 0.6083 MB / 1.168 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.165, allocations: 1.125 kB / 1.168 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007392/1.166, allocations: 301.4 kB / 1.168 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.167, allocations: 276 kB / 1.168 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/1.173, allocations: 3.394 MB / 1.171 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/1.174, allocations: 0.8639 MB / 1.172 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007115/1.175, allocations: 137.7 kB / 1.172 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/1.175, allocations: 175.9 kB / 1.173 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of SimCode: time 1.743e-06/1.175, allocations: 0 / 1.173 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04258/1.218, allocations: 14.83 MB / 1.187 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/1.218, allocations: 245.5 kB / 1.187 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.78, allocations: 0 / 1.187 GB, free: 5.176 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)