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.001046/0.001046, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 194.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.1 MB / 222.4 MB, free: 4.391 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.495/1.495, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.00146/0.00146, allocations: 68.58 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1672, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4834/0.6506, allocations: 181.8 MB / 0.961 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004827/0.6554, allocations: 4.455 MB / 0.9653 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005247/0.656, allocations: 20.84 kB / 0.9654 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.6566, allocations: 244.5 kB / 0.9656 GB, free: 0 / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.6583, allocations: 0.7635 MB / 0.9663 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.6613, allocations: 1.509 MB / 0.9678 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.6627, allocations: 1.26 MB / 0.969 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005581/0.6633, allocations: 449.1 kB / 0.9695 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008113/0.6641, allocations: 0.5688 MB / 0.97 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.6645, allocations: 413.3 kB / 0.9704 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.879e-05/0.6646, allocations: 45.66 kB / 0.9705 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.667, allocations: 1.536 MB / 0.972 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.6672, allocations: 188.6 kB / 0.9721 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.6675, allocations: 306.5 kB / 0.9724 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.6691, allocations: 1.296 MB / 0.9737 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6691, allocations: 0 / 0.9737 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6691, allocations: 5.5 kB / 0.9737 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.6691, allocations: 0 / 0.9737 GB, free: 14.82 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.001516/0.6706, allocations: 1.025 MB / 0.9747 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.6707, allocations: 9.625 kB / 0.9747 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.601e-05/0.6708, allocations: 87.69 kB / 0.9748 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.6725, allocations: 283.6 kB / 0.9751 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.6732, allocations: 443.7 kB / 0.9755 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.6732, allocations: 36.5 kB / 0.9755 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.6733, allocations: 43.38 kB / 0.9756 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008445/0.6741, allocations: 0.5442 MB / 0.9761 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.6741, allocations: 1.625 kB / 0.9761 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.6742, allocations: 17.62 kB / 0.9761 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.6742, allocations: 13.56 kB / 0.9761 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009229/0.6751, allocations: 459.8 kB / 0.9766 GB, free: 13.64 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.00201/0.6772, allocations: 2.128 MB / 0.9786 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/0.678, allocations: 409.4 kB / 0.979 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.6785, allocations: 226.6 kB / 0.9793 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/0.679, allocations: 398 kB / 0.9796 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005393/0.6796, allocations: 293.9 kB / 0.9799 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.6796, allocations: 0 / 0.9799 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001575/0.6812, allocations: 0.6889 MB / 0.9806 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.6812, allocations: 53.88 kB / 0.9806 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.6817, allocations: 0.4928 MB / 0.9811 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.6817, allocations: 36.55 kB / 0.9812 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.6819, allocations: 257.2 kB / 0.9814 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.682, allocations: 125.6 kB / 0.9815 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.6821, allocations: 97.94 kB / 0.9816 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6823, allocations: 359.5 kB / 0.982 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.6827, allocations: 199.2 kB / 0.9821 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.6832, allocations: 318.1 kB / 0.9825 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.6841, allocations: 0.5471 MB / 0.983 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6841, allocations: 0 / 0.983 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001169/0.6853, allocations: 0.6532 MB / 0.9836 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.6854, allocations: 63.36 kB / 0.9837 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6854, allocations: 2.438 kB / 0.9837 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.6854, allocations: 4.406 kB / 0.9837 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.6858, allocations: 94.41 kB / 0.9838 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.6858, allocations: 9.562 kB / 0.9838 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.6863, allocations: 81.27 kB / 0.9839 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.6864, allocations: 22.16 kB / 0.9839 GB, free: 8.715 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.6865, allocations: 190.2 kB / 0.9841 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.6866, allocations: 58.69 kB / 0.9841 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.6877, allocations: 0.5389 MB / 0.9847 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.6877, allocations: 2.625 kB / 0.9847 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6877, allocations: 1.812 kB / 0.9847 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6877, allocations: 9.734 kB / 0.9847 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.6897, allocations: 1.344 MB / 0.986 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6897, allocations: 6.625 kB / 0.986 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.69, allocations: 79.31 kB / 0.9861 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.6901, allocations: 12.89 kB / 0.9861 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.6901, allocations: 11.97 kB / 0.9861 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6901, allocations: 8.969 kB / 0.9861 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6901, allocations: 5.797 kB / 0.9861 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.6916, allocations: 0.9321 MB / 0.987 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.6918, allocations: 170.4 kB / 0.9872 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.6918, allocations: 13.31 kB / 0.9872 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.6923, allocations: 36.17 kB / 0.9872 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.6924, allocations: 53.52 kB / 0.9873 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.6924, allocations: 12.62 kB / 0.9873 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003399/0.6928, allocations: 352.6 kB / 0.9876 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6928, allocations: 0 / 0.9876 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004927/0.6933, allocations: 151.2 kB / 0.9878 GB, free: 6.133 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002006/0.6953, allocations: 1.574 MB / 0.9893 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.6964, allocations: 0.5914 MB / 0.9899 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6964, allocations: 0 / 0.9899 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.697, allocations: 289.6 kB / 0.9902 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.6983, allocations: 292.9 kB / 0.9904 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006324/0.7046, allocations: 5.098 MB / 0.9954 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.705, allocations: 0.8642 MB / 0.9963 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004518/0.7054, allocations: 129 kB / 0.9964 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.7057, allocations: 184.1 kB / 0.9966 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.7057, allocations: 0 / 0.9966 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.618/4.324, allocations: 15.71 MB / 1.012 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/21.21, allocations: 11.12 kB / 1.012 GB, free: 8.109 MB / 0.7481 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/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)