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.001291/0.001298, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001289/0.001289, allocations: 177.3 kB / 15.95 MB, free: 216 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.788/1.788, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.993/1.993, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.000643/0.0006433, allocations: 21.56 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3188, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8253/1.144, allocations: 151.4 MB / 0.9351 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007068/1.151, allocations: 4.111 MB / 0.9391 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007259/1.152, allocations: 22.03 kB / 0.9391 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/1.153, allocations: 283.2 kB / 0.9394 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/1.155, allocations: 0.5754 MB / 0.9399 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/1.159, allocations: 0.9738 MB / 0.9409 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001568/1.16, allocations: 0.7435 MB / 0.9416 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006783/1.161, allocations: 363 kB / 0.942 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/1.163, allocations: 0.6576 MB / 0.9426 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/1.164, allocations: 287.6 kB / 0.9429 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/1.164, allocations: 26.38 kB / 0.9429 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/1.166, allocations: 0.5902 MB / 0.9435 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/1.166, allocations: 157.2 kB / 0.9436 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006485/1.167, allocations: 133.4 kB / 0.9438 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/1.168, allocations: 0.637 MB / 0.9444 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.168, allocations: 0.6875 kB / 0.9444 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.256e-06/1.168, allocations: 4 kB / 0.9444 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.168, allocations: 2.516 kB / 0.9444 GB, free: 21.35 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.002242/1.171, allocations: 0.8969 MB / 0.9453 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/1.171, allocations: 8.906 kB / 0.9453 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/1.171, allocations: 80.95 kB / 0.9454 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/1.173, allocations: 297 kB / 0.9456 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008343/1.174, allocations: 429 kB / 0.946 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/1.174, allocations: 36.41 kB / 0.9461 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/1.174, allocations: 44.78 kB / 0.9461 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.175, allocations: 0.552 MB / 0.9467 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/1.175, allocations: 3.844 kB / 0.9467 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/1.175, allocations: 18.02 kB / 0.9467 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/1.175, allocations: 10.5 kB / 0.9467 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/1.177, allocations: 492.8 kB / 0.9472 GB, free: 20.25 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.003062/1.18, allocations: 2.132 MB / 0.9492 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/1.181, allocations: 440.9 kB / 0.9497 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004314/1.181, allocations: 145 kB / 0.9498 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006411/1.182, allocations: 335.7 kB / 0.9501 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.474e-06/1.182, allocations: 0 / 0.9501 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001907/1.184, allocations: 0.7378 MB / 0.9508 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/1.184, allocations: 86.2 kB / 0.9509 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/1.185, allocations: 489.9 kB / 0.9514 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/1.185, allocations: 35.36 kB / 0.9514 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/1.185, allocations: 262.7 kB / 0.9517 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/1.185, allocations: 127.9 kB / 0.9518 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/1.185, allocations: 11.56 kB / 0.9518 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.185, allocations: 368 kB / 0.9522 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/1.186, allocations: 207.3 kB / 0.9524 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/1.186, allocations: 332.2 kB / 0.9527 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/1.187, allocations: 299.1 kB / 0.953 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.187, allocations: 1.125 kB / 0.953 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001311/1.188, allocations: 0.6768 MB / 0.9536 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/1.188, allocations: 62.66 kB / 0.9537 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.188, allocations: 2.312 kB / 0.9537 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.188, allocations: 7.406 kB / 0.9537 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/1.189, allocations: 107.4 kB / 0.9538 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.189, allocations: 8.156 kB / 0.9538 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/1.189, allocations: 89.03 kB / 0.9539 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/1.189, allocations: 23.78 kB / 0.9539 GB, free: 17.51 MB / 0.7325 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.0002413/1.19, allocations: 198.2 kB / 0.9541 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/1.19, allocations: 57.56 kB / 0.9542 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/1.191, allocations: 0.5303 MB / 0.9547 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.191, allocations: 4.031 kB / 0.9547 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.191, allocations: 2.906 kB / 0.9547 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.191, allocations: 1.031 kB / 0.9547 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/1.193, allocations: 1.473 MB / 0.9561 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.193, allocations: 8.484 kB / 0.9561 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/1.194, allocations: 85.03 kB / 0.9562 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/1.194, allocations: 7.5 kB / 0.9562 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/1.194, allocations: 17.22 kB / 0.9562 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.194, allocations: 7.156 kB / 0.9562 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.194, allocations: 10.69 kB / 0.9562 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.196, allocations: 1.231 MB / 0.9574 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/1.196, allocations: 174.8 kB / 0.9576 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/1.196, allocations: 20.59 kB / 0.9576 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/1.196, allocations: 54.55 kB / 0.9577 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.197, allocations: 58.22 kB / 0.9577 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/1.197, allocations: 17.94 kB / 0.9578 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004786/1.197, allocations: 338.8 kB / 0.9581 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.197, allocations: 1.312 kB / 0.9581 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007622/1.198, allocations: 153.2 kB / 0.9582 GB, free: 15.92 MB / 0.7325 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.002835/1.201, allocations: 3.18 MB / 0.9613 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001323/1.202, allocations: 0.6079 MB / 0.9619 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.202, allocations: 0 / 0.9619 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007446/1.203, allocations: 329.6 kB / 0.9622 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.204, allocations: 278.1 kB / 0.9625 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007005/1.211, allocations: 5.355 MB / 0.9677 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/1.212, allocations: 0.8799 MB / 0.9686 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007634/1.213, allocations: 128.7 kB / 0.9687 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/1.213, allocations: 177.8 kB / 0.9689 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of SimCode: time 1.824e-06/1.213, allocations: 0 / 0.9689 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/1.26, allocations: 14.78 MB / 0.9833 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/1.26, allocations: 217.8 kB / 0.9835 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.538, allocations: 0 / 0.9835 GB, free: 3.516 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: