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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001182/0.001182, allocations: 105.8 kB / 16.36 MB, free: 6 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.001053/0.001053, allocations: 192.8 kB / 17.3 MB, free: 5.602 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.835/1.835, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001439/0.001439, allocations: 79.83 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2099, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5711/0.781, allocations: 181.8 MB / 0.9623 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006504/0.7875, allocations: 4.435 MB / 0.9666 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006405/0.7882, allocations: 24.62 kB / 0.9667 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.789, allocations: 250.1 kB / 0.9669 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.7912, allocations: 0.7619 MB / 0.9676 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.7953, allocations: 1.519 MB / 0.9691 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.7969, allocations: 1.266 MB / 0.9704 GB, free: 12 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.7976, allocations: 441.3 kB / 0.9708 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009791/0.7986, allocations: 0.576 MB / 0.9713 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.7991, allocations: 406.3 kB / 0.9717 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.7992, allocations: 45.41 kB / 0.9718 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.8022, allocations: 1.547 MB / 0.9733 GB, free: 9 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.8024, allocations: 179.5 kB / 0.9735 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.8028, allocations: 310.5 kB / 0.9737 GB, free: 8.52 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.8048, allocations: 1.317 MB / 0.975 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8049, allocations: 0 / 0.975 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8049, allocations: 0 / 0.975 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.8049, allocations: 0 / 0.975 GB, free: 7.199 MB / 0.7637 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.001903/0.8068, allocations: 1.025 MB / 0.976 GB, free: 6.113 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8068, allocations: 8.031 kB / 0.976 GB, free: 6.105 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.8089, allocations: 286.9 kB / 0.9763 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.8097, allocations: 445.4 kB / 0.9767 GB, free: 5.348 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.8098, allocations: 37 kB / 0.9768 GB, free: 5.312 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.8099, allocations: 40 kB / 0.9768 GB, free: 5.273 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.811, allocations: 0.5483 MB / 0.9774 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.811, allocations: 0 / 0.9774 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.811, allocations: 16.81 kB / 0.9774 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.8111, allocations: 15.94 kB / 0.9774 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.8121, allocations: 463.5 kB / 0.9778 GB, free: 4.207 MB / 0.7637 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.002638/0.8147, allocations: 2.112 MB / 0.9799 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.8157, allocations: 406.4 kB / 0.9803 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/0.8164, allocations: 229.2 kB / 0.9805 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/0.8171, allocations: 400.9 kB / 0.9809 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006179/0.8178, allocations: 291.6 kB / 0.9812 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=37): time 2.375e-06/0.8178, allocations: 4 kB / 0.9812 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37): time 0.00182/0.8196, allocations: 0.6848 MB / 0.9818 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.8197, allocations: 55.41 kB / 0.9819 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.8203, allocations: 0.4941 MB / 0.9824 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.8203, allocations: 35.67 kB / 0.9824 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.8206, allocations: 256.1 kB / 0.9826 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.8207, allocations: 130.2 kB / 0.9828 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.8208, allocations: 86.12 kB / 0.9828 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.821, allocations: 362.8 kB / 0.9832 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.8215, allocations: 200.8 kB / 0.9834 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.8221, allocations: 315.5 kB / 0.9837 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.8231, allocations: 0.5495 MB / 0.9842 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.8231, allocations: 4 kB / 0.9842 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001358/0.8245, allocations: 0.6526 MB / 0.9849 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.824e-05/0.8245, allocations: 63.39 kB / 0.9849 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8246, allocations: 0 / 0.9849 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.8246, allocations: 8 kB / 0.9849 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.8251, allocations: 91.88 kB / 0.985 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.8251, allocations: 11.94 kB / 0.985 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/0.8257, allocations: 79.64 kB / 0.9851 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.8257, allocations: 20 kB / 0.9851 GB, free: 12.33 MB / 0.7794 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.0002576/0.826, allocations: 197.6 kB / 0.9853 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.8261, allocations: 51.34 kB / 0.9854 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.8273, allocations: 0.5409 MB / 0.9859 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.8273, allocations: 4 kB / 0.9859 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8273, allocations: 2.25 kB / 0.9859 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.8274, allocations: 7.984 kB / 0.9859 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.8296, allocations: 1.345 MB / 0.9872 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.8296, allocations: 9.312 kB / 0.9872 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/0.8301, allocations: 76.31 kB / 0.9873 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.8301, allocations: 4 kB / 0.9873 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.8301, allocations: 20 kB / 0.9873 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.8301, allocations: 7.938 kB / 0.9873 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.8301, allocations: 7.984 kB / 0.9873 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.8318, allocations: 0.9248 MB / 0.9882 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.8321, allocations: 176.3 kB / 0.9884 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.8322, allocations: 16.06 kB / 0.9884 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.8326, allocations: 31.95 kB / 0.9885 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.8328, allocations: 53.52 kB / 0.9885 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.8328, allocations: 12 kB / 0.9885 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004294/0.8332, allocations: 354.8 kB / 0.9889 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8332, allocations: 0 / 0.9889 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005954/0.8338, allocations: 151.8 kB / 0.989 GB, free: 8.172 MB / 0.7794 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.0004514/0.8343, allocations: 195.8 kB / 0.9892 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.8355, allocations: 0.5852 MB / 0.9898 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8355, allocations: 0 / 0.9898 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006456/0.8362, allocations: 290.5 kB / 0.99 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.8375, allocations: 286.6 kB / 0.9903 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.8393, allocations: 1.039 MB / 0.9913 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.8398, allocations: 0.8703 MB / 0.9922 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004272/0.8402, allocations: 126 kB / 0.9923 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.8404, allocations: 47.44 kB / 0.9923 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.8404, allocations: 3.938 kB / 0.9923 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of Templates: time 0.01824/0.8586, allocations: 10.77 MB / 1.003 GB, free: 10.16 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)