Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 92.08 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005504/0.0005504, allocations: 18.06 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3075, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8659/1.174, allocations: 165.3 MB / 0.9488 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00719/1.181, allocations: 4.17 MB / 0.9529 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007653/1.182, allocations: 17.66 kB / 0.9529 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008114/1.182, allocations: 171.7 kB / 0.9531 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/1.184, allocations: 0.5822 MB / 0.9537 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/1.188, allocations: 1.059 MB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002269/1.191, allocations: 1.443 MB / 0.9561 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006383/1.191, allocations: 349.2 kB / 0.9564 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/1.192, allocations: 0.5105 MB / 0.9569 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/1.193, allocations: 394.8 kB / 0.9573 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/1.193, allocations: 25.88 kB / 0.9573 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/1.195, allocations: 0.7843 MB / 0.9581 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/1.196, allocations: 165.3 kB / 0.9583 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000424/1.196, allocations: 131.3 kB / 0.9584 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/1.197, allocations: 0.7645 MB / 0.9591 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.197, allocations: 4 kB / 0.9591 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.635e-06/1.197, allocations: 1.031 kB / 0.9591 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.197, allocations: 1.859 kB / 0.9591 GB, free: 19.75 MB / 0.7325 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.001907/1.199, allocations: 0.9346 MB / 0.96 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/1.199, allocations: 9.438 kB / 0.9601 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/1.2, allocations: 81.81 kB / 0.9601 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/1.202, allocations: 286.2 kB / 0.9604 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/1.202, allocations: 424.9 kB / 0.9608 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/1.202, allocations: 34.94 kB / 0.9608 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/1.203, allocations: 44.27 kB / 0.9609 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/1.204, allocations: 0.5592 MB / 0.9614 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.204, allocations: 5.031 kB / 0.9614 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/1.204, allocations: 20.55 kB / 0.9615 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/1.204, allocations: 9.156 kB / 0.9615 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/1.205, allocations: 487.5 kB / 0.9619 GB, free: 18.6 MB / 0.7325 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.002686/1.207, allocations: 2.133 MB / 0.964 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000972/1.208, allocations: 433 kB / 0.9644 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/1.209, allocations: 240.3 kB / 0.9647 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006828/1.21, allocations: 414.5 kB / 0.9651 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006177/1.21, allocations: 316.8 kB / 0.9654 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.725e-06/1.21, allocations: 1.531 kB / 0.9654 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001841/1.212, allocations: 0.7296 MB / 0.9661 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/1.212, allocations: 57.12 kB / 0.9661 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/1.213, allocations: 497.4 kB / 0.9666 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/1.213, allocations: 35.23 kB / 0.9666 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/1.213, allocations: 254.5 kB / 0.9669 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/1.213, allocations: 131.5 kB / 0.967 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/1.213, allocations: 13.19 kB / 0.967 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.213, allocations: 365 kB / 0.9674 GB, free: 16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/1.214, allocations: 213.1 kB / 0.9676 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/1.214, allocations: 326.3 kB / 0.9679 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/1.215, allocations: 296.2 kB / 0.9682 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.215, allocations: 1.5 kB / 0.9682 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001381/1.216, allocations: 0.6729 MB / 0.9688 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.628e-05/1.216, allocations: 59.69 kB / 0.9689 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.216, allocations: 5.391 kB / 0.9689 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/1.217, allocations: 6.125 kB / 0.9689 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/1.217, allocations: 104.7 kB / 0.969 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.217, allocations: 7.812 kB / 0.969 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/1.218, allocations: 94.38 kB / 0.9691 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/1.218, allocations: 21.77 kB / 0.9691 GB, free: 15.56 MB / 0.7325 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.0003213/1.218, allocations: 206.5 kB / 0.9693 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.218, allocations: 53 kB / 0.9694 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/1.219, allocations: 0.5721 MB / 0.9699 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.219, allocations: 3.844 kB / 0.9699 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.22, allocations: 4 kB / 0.9699 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.22, allocations: 2.391 kB / 0.9699 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/1.222, allocations: 1.378 MB / 0.9713 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.222, allocations: 3.531 kB / 0.9713 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/1.222, allocations: 83.61 kB / 0.9713 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.222, allocations: 9.484 kB / 0.9714 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/1.222, allocations: 11.69 kB / 0.9714 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/1.222, allocations: 9.656 kB / 0.9714 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.222, allocations: 7.938 kB / 0.9714 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/1.224, allocations: 0.9905 MB / 0.9724 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/1.224, allocations: 171.5 kB / 0.9725 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/1.224, allocations: 18.09 kB / 0.9725 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/1.225, allocations: 48.92 kB / 0.9726 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/1.225, allocations: 52.38 kB / 0.9726 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/1.225, allocations: 20.02 kB / 0.9726 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004005/1.225, allocations: 338 kB / 0.973 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.41e-07/1.225, allocations: 3.938 kB / 0.973 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006847/1.226, allocations: 150.4 kB / 0.9731 GB, free: 14.31 MB / 0.7325 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.0025/1.229, allocations: 1.623 MB / 0.9747 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001467/1.23, allocations: 0.6097 MB / 0.9753 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.23, allocations: 0 / 0.9753 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/1.231, allocations: 303.2 kB / 0.9756 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.232, allocations: 276.9 kB / 0.9759 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/1.238, allocations: 3.385 MB / 0.9792 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/1.239, allocations: 0.8658 MB / 0.98 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005766/1.239, allocations: 127.3 kB / 0.9801 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/1.24, allocations: 176 kB / 0.9803 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/1.24, allocations: 4 kB / 0.9803 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/1.269, allocations: 14.8 MB / 0.9948 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.27, allocations: 228.1 kB / 0.995 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/3.38, allocations: 0 / 0.995 GB, free: 3.629 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: