Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008879/0.008879, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001921/0.001921, allocations: 194.4 kB / 16.67 MB, free: 5.918 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.388/1.388, allocations: 205.1 MB / 222.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4874/0.4874, allocations: 95.48 MB / 365.4 MB, free: 12.16 MB / 318.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.91 kB / 0.5036 GB, free: 11.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4244, allocations: 69.1 MB / 0.5711 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7345/1.159, allocations: 195.7 MB / 0.7622 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005018/1.164, allocations: 3.658 MB / 0.7658 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007895/1.165, allocations: 14.97 kB / 0.7658 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/1.166, allocations: 333.2 kB / 0.7661 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/1.167, allocations: 0.5004 MB / 0.7666 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005601/1.173, allocations: 2.056 MB / 0.7686 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001915/1.175, allocations: 1.61 MB / 0.7702 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006328/1.176, allocations: 0.5275 MB / 0.7707 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/1.177, allocations: 0.6853 MB / 0.7714 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/1.177, allocations: 0.5343 MB / 0.7719 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/1.177, allocations: 72.06 kB / 0.772 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004635/1.182, allocations: 1.99 MB / 0.7739 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/1.182, allocations: 297.6 kB / 0.7742 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006921/1.183, allocations: 427.7 kB / 0.7746 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004494/1.188, allocations: 2.095 MB / 0.7766 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.188, allocations: 0 / 0.7766 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/1.188, allocations: 0.9688 kB / 0.7766 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.328e-05/1.188, allocations: 0 / 0.7766 GB, free: 1.48 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002811/1.191, allocations: 1.266 MB / 0.7779 GB, free: 16.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.191, allocations: 14.08 kB / 0.7779 GB, free: 16.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/1.191, allocations: 89.64 kB / 0.778 GB, free: 16.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/1.192, allocations: 0.4941 MB / 0.7785 GB, free: 16.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/1.192, allocations: 48.31 kB / 0.7785 GB, free: 16.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/1.192, allocations: 54.25 kB / 0.7785 GB, free: 16.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/1.193, allocations: 0.7952 MB / 0.7793 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/1.193, allocations: 6.062 kB / 0.7793 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/1.193, allocations: 26.34 kB / 0.7794 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/1.193, allocations: 14.19 kB / 0.7794 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/1.195, allocations: 0.7518 MB / 0.7801 GB, free: 16.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004404/1.199, allocations: 3.461 MB / 0.7835 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/1.2, allocations: 308.6 kB / 0.7838 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/1.2, allocations: 205.3 kB / 0.784 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/1.201, allocations: 0.8058 MB / 0.7848 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008917/1.202, allocations: 0.5095 MB / 0.7853 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=38): time 2.795e-06/1.202, allocations: 0.7812 kB / 0.7853 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.001668/1.204, allocations: 0.7087 MB / 0.786 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003341/1.204, allocations: 0.7775 MB / 0.7867 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/1.205, allocations: 0.6614 MB / 0.7874 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/1.205, allocations: 37.36 kB / 0.7874 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/1.205, allocations: 338.5 kB / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/1.205, allocations: 132.5 kB / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/1.206, allocations: 149.2 kB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.206, allocations: 374.4 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/1.206, allocations: 225.9 kB / 0.7886 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008158/1.207, allocations: 489.1 kB / 0.789 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.208, allocations: 0.638 MB / 0.7896 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.208, allocations: 2.406 kB / 0.7896 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001452/1.21, allocations: 0.7488 MB / 0.7904 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/1.21, allocations: 33.05 kB / 0.7904 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.21, allocations: 3.5 kB / 0.7904 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/1.21, allocations: 14.12 kB / 0.7904 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/1.21, allocations: 138.3 kB / 0.7906 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/1.21, allocations: 10.19 kB / 0.7906 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/1.211, allocations: 110.7 kB / 0.7907 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/1.211, allocations: 34.12 kB / 0.7907 GB, free: 10.49 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 (m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0003804/1.212, allocations: 229.8 kB / 0.7909 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/1.212, allocations: 69.66 kB / 0.791 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/1.213, allocations: 0.667 MB / 0.7916 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.213, allocations: 7.812 kB / 0.7917 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.213, allocations: 3.594 kB / 0.7917 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.213, allocations: 10.61 kB / 0.7917 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.215, allocations: 1.361 MB / 0.793 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.215, allocations: 2.312 kB / 0.793 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/1.215, allocations: 81.59 kB / 0.7931 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.215, allocations: 4.562 kB / 0.7931 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/1.215, allocations: 17.22 kB / 0.7931 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/1.215, allocations: 4.719 kB / 0.7931 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.215, allocations: 9.781 kB / 0.7931 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/1.217, allocations: 0.8808 MB / 0.794 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/1.217, allocations: 205.1 kB / 0.7942 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.217, allocations: 35.28 kB / 0.7942 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/1.218, allocations: 40.11 kB / 0.7942 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.218, allocations: 46.5 kB / 0.7943 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/1.218, allocations: 19.95 kB / 0.7943 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006566/1.219, allocations: 0.6024 MB / 0.7949 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.32e-07/1.219, allocations: 2.5 kB / 0.7949 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001634/1.22, allocations: 448.1 kB / 0.7953 GB, free: 8.93 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (temDyn.T) * Number of discrete variables: 3 ($whenCondition1,m_flow.T_start,m_flow.count) * Number of discrete states: 1 (m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.001308/1.222, allocations: 0.5137 MB / 0.7958 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001473/1.223, allocations: 0.6039 MB / 0.7964 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.223, allocations: 3.844 kB / 0.7964 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006383/1.224, allocations: 268 kB / 0.7967 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.226, allocations: 404.4 kB / 0.7971 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/1.228, allocations: 1.316 MB / 0.7983 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/1.229, allocations: 0.9418 MB / 0.7993 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00061/1.229, allocations: 165.1 kB / 0.7994 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/1.229, allocations: 66.92 kB / 0.7995 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/1.229, allocations: 5.094 kB / 0.7995 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of Templates: time 0.03586/1.265, allocations: 22.07 MB / 0.821 GB, free: 13.38 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)